VertexNode

A vertex as a double linked list node.

Import

VertexNode is an add-on, and must be imported explicitly. See Installation / Addons.

import { VertexNode } from 'three/addons/math/ConvexHull.js';

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.

Leave a comment

Your email address will not be published. Required fields are marked *