Documentation - v20.0.0-dev
    Preparing search index...

    A cutting plane of a CuttingPlanesController, as addPlane returns it and its hits give it back (CuttingPlaneHit.cuttingPlane): reads and changes its plane in the controller, which holds it (no state of its own). Removed (removePlane, clear), it is no longer isValid: its setters do nothing, its getters throw.

    Index

    Properties

    isCuttingPlaneProxy: true
    owner: unknown = null

    The application's object for this plane, free (e.g. the viewer's plane): set it when the plane is added, read it back from a hit. Cleared when the plane is removed.

    Accessors

    • get isValid(): boolean

      Whether its plane is still in the controller.

      Returns boolean

    • get plane(): Readonly<Plane>

      Its plane, the controller's copy (normalized): change it through setPlane.

      Returns Readonly<Plane>

    • get visible(): boolean

      Whether the CuttingPlanesHelper draws and picks it; it cuts either way. True when added.

      Returns boolean

    • set visible(visible: boolean): void

      Parameters

      • visible: boolean

      Returns void

    Methods

    • Cuts by plane from now on, copied (normalized).

      Parameters

      Returns void

      For a plane without a normal (zero length).