Viewer - Interaction
    Preparing search index...

    Interface LineRestrictionProperties

    interface LineRestrictionProperties {
        point1: vec3;
        point2: vec3;
        type: RESTRICTION_TYPE;
        createHelperObjects?: boolean;
        hideable?: boolean;
        id?: string;
        point1Radius?: number;
        point2Radius?: number;
        priority?: number;
        radius?: number;
        rotation?: { angle: number; axis: vec3 };
        wireframe?: boolean;
        wireframeColor?: string;
        wireframeDepthTest?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    point1: vec3

    The first point of the line.

    point2: vec3

    The second point of the line.

    Type of the restriction

    createHelperObjects?: boolean

    Whether to create visual helper objects (grid, axis, etc.) for restrictions. (default: true)

    hideable?: boolean

    If the restriction should be hidden by geometry in front of it. (default: false)

    id?: string

    The id of the restriction.

    point1Radius?: number

    The radius of the first point.

    point2Radius?: number

    The radius of the second point.

    priority?: number

    The priority of the restriction.

    radius?: number

    The radius in which the restriction is active.

    rotation?: { angle: number; axis: vec3 }

    The rotation of the object after the restriction is applied.

    wireframe?: boolean

    If the restriction should be displayed as a wireframe line.

    wireframeColor?: string

    The color of the wireframe.

    wireframeDepthTest?: boolean

    If the wireframe should be rendered with depth test. (default: false)