editor › Globals › ISerializedHalfEdgeMeshImplementation
Interface: ISerializedHalfEdgeMeshImplementation
Hierarchy
- ISerializedHalfEdgeMeshImplementation
Index
Properties
Properties
edgeIds
• edgeIds: string[][][]
Defined in src/history/serialization/HalfEdgeMeshImplementationSerializer.ts:24
points
• points: Array‹object›
Defined in src/history/serialization/HalfEdgeMeshImplementationSerializer.ts:13
The position of the points in mesh-local space.
surfaceIds
• surfaceIds: string[]
Defined in src/history/serialization/HalfEdgeMeshImplementationSerializer.ts:22
In the same order as the serialized surfaces, for each surface we store its id.
surfaces
• surfaces: number[][][]
Defined in src/history/serialization/HalfEdgeMeshImplementationSerializer.ts:17
The surfaces use indices to reference positions in the points array.
twinRelationships
• twinRelationships: number[]
Defined in src/history/serialization/HalfEdgeMeshImplementationSerializer.ts:31
A flattened representation of the twin relationship between halfEdges. Each entry in the array references one halfEdge by absolute count (0 is the first halfEdge of the first surface etc.). Two subsequent numbers indicate a twin relationship. Index 0 and 1 are twins, index 2 and 3 are twins etc.