BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    A plane with a drag icon that does not cut anything: the user drags it along its normal (left button on the icon or the rectangle), the middle button on the icon removes it. Coordinates are render space: millimetres, globalBaseTranslation included.

    Index

    Constructors

    Properties

    coordinate: Float32Array

    A point on the plane, render space mm; do not modify, use setCoordinate/setOffset

    id: number
    normal: Float32Array

    Unit normal

    offset: number

    dot(coordinate, normal): the plane's position along its normal

    Methods

    • Returns void

    • Parameters

      Returns void

    • Moves the plane to a point (the normal stays); fires "moveEnd"

      Parameters

      • coordinate: number[] | Float32Array<ArrayBuffer>

      Returns void

    • Moves the plane along its normal so that offset becomes the given value; fires "moveEnd"

      Parameters

      • offset: number

      Returns void