Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Vertex

Index

Constructors

Properties

halfedge: null | Halfedge = null

Reference to one halfedge starting from the vertex

id: number
position: Vector3 = ...

Vertex position

Methods

  • boundaryHalfedgesInLoop(start?: null | Halfedge): Generator<Halfedge, null, unknown>
  • Returns a generator of boundary halfedges arriving to this vertex.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • boundaryHalfedgesOutLoop(start?: null | Halfedge): Generator<Halfedge, null, unknown>
  • Returns a generator of boundary halfedges starting from this vertex.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • freeHalfedgesInLoop(start?: null | Halfedge): Generator<Halfedge, null, unknown>
  • Returns a generator of free halfedges arriving to this vertex.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • freeHalfedgesOutLoop(start?: null | Halfedge): Generator<Halfedge, null, unknown>
  • Returns a generator of free halfedges starting from this vertex.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • Returns the halfedge going from this vertex to other vertex if any.

    Parameters

    • other: Vertex

      The other vertex

    Returns null | Halfedge

    HalfEdge if found, null otherwise.

  • isConnectedToVertex(other: Vertex): boolean
  • isFree(): boolean
  • isIsolated(): boolean
  • Returns a generator of halfedges starting from this vertex in CCW order.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • Returns a generator of halfedges starting from this vertex in CW order.

    Parameters

    • start: null | Halfedge = ...

      The halfedge to start looping, default is vertex halfedge

    Returns Generator<Halfedge, null, unknown>

  • matchesPosition(position: Vector3, tolerance?: number): boolean
  • Checkes whether the vertex matches the given position

    Parameters

    • position: Vector3

      The position

    • tolerance: number = 1e-10

    Returns boolean

Generated using TypeDoc