ProtoTwin API
    Preparing search index...

    Interface IPlane

    Interface for planes.

    interface IPlane {
        firstAxis: IVec3;
        normal: IVec3;
        origin: IVec3;
        projectedAngle(point: IVec3): number;
    }

    Implemented by

    Index

    Properties

    firstAxis: IVec3

    The first axis of the plane.

    normal: IVec3

    The normal of the plane.

    origin: IVec3

    The origin of the plane.

    Methods

    • Calculates the angle for the specified point when projected onto the plane.

      Parameters

      Returns number

      The angle for the projected point.