Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ridge

Ridge is a face of a facet, represented as the set of vertices forming the ridge. A line facet contains 2 ridges each containing a single point. A triangle facet contains 3 ridges containing 2 vertices (segment end points), a tetrahedral facet contains 4 face ridges (each containing the three triangle vertices).

Hierarchy

  • Ridge

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _plane

_plane: Vector

facet

facet: Facet

The facet to which this ridge belongs.

neighbor

neighbor: Ridge

The neighbour ridge belong to a different face but sharing the same vertices. In a closed shape, every ridge should have a neighbour.

opposite

opposite: number

The index of the opposite vertex. This is required by some query code.

verts

verts: number[] = []

The vertices of the ridge. These are always the points forming the ridge. Represented as indices into an external point array.

Methods

getPlane

Generated using TypeDoc