ProtoTwin API
    Preparing search index...

    Class Plane

    Immutable plane.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Constructor

      Parameters

      • origin: Vec3

        The origin.

      • normal: Vec3

        The normal.

      • firstAxis: Vec3

        The first axis.

      Returns Plane

    Properties

    firstAxis: Vec3

    The first axis of the plane.

    normal: Vec3

    The normal of the plane.

    origin: Vec3

    The origin of the plane.

    Accessors

    Methods

    • Projects a point onto the plane.

      Parameters

      Returns Vec3

      The projected point.

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

      Parameters

      Returns number

      The angle for the projected point.