jakke-graphics-ts
    Preparing search index...

    Function is2d

    • Determines if the given vertex is a 2D vertex.

      Parameters

      • v: Vertex2d | Vertex3d

        The vertex to check, which can be either a Vertex2d or Vertex3d.

      Returns boolean

      true if the vertex has a z property of type number, indicating it is a 2D vertex; otherwise, false.