An arbitrarily-aligned World-space clipping plane.

See @xeokit/sdk/viewer for usage info.

Properties

destroyed: boolean = false

True once this SectionPlane has been destroyed.

id: string

ID of this SectionPlane, unique within the View.

view: View

The View to which this SectionPlane belongs.

Accessors

  • get dist(): number

    Gets this SectionPlane's distance to the origin of the World-space coordinate system.

    This is the dot product of SectionPlane.pos and SectionPlane.dir and is automatically re-calculated each time either of two properties are updated.

    Returns number

    Distance to the origin of the World-space coordinate system.

Methods