ProtoTwin API
    Preparing search index...

    Class Edge

    Immutable 3D edge.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Constructors

    • Constructor.

      Parameters

      • start: Vec3

        The starting point for the edge.

      • end: Vec3

        The ending point for the edge.

      • firstNormal: null | Vec3 = null

        The (optional) normal for the first incident face.

      • secondNormal: null | Vec3 = null

      Returns Edge

    Properties

    end: Vec3

    The ending point for the edge.

    firstNormal: null | Vec3

    The normal for the first incident face.

    secondNormal: null | Vec3

    The normal for the second incident face.

    start: Vec3

    The starting point for the edge.

    Accessors

    • get length(): number

      The length of the edge.

      Returns number

    • get zero(): Edge

      The degenerate zero edge.

      Returns Edge