VertexNode

优质
小牛编辑
131浏览
2023-12-01

A vertex as a double linked list node.

Constructor

VertexNode( point : Vector3 )

point - Vector3 A point (x, y, z) in 3D space.

Creates a new instance of VertexNode.

Properties

.point : Vector3

A point (x, y, z) in 3D space. Default is undefined.

.prev : VertexNode

Reference to the previous vertex in the double linked list. Default is null.

.next : VertexNode

Reference to the next vertex in the double linked list. Default is null.

.face : Face

Reference to the face that is able to see this vertex. Default is undefined.

Source

examples/jsm/math/ConvexHull.js