Vertex

Overview

Vertex is a class in Aspose.3D FOSS for Typescript.

Vertex.constructor creates a vertex using an ArrayBuffer, offset, field declarations, and vertex size.

Methods

SignatureDescription
constructor(data: ArrayBuffer, offset: number, declaration: VertexField[], vertexSize: number)Creates a vertex using an ArrayBuffer, offset, field declarations, and vertex size
compare(other: Vertex)numberReturns a numeric ordering comparison result between this vertex and another
compareTo(other: Vertex)numberReturns a numeric value indicating this vertex’s order relative to another
readVector4(field: VertexField)Vector4Reads a Vector4 value from the specified vertex field
readFVector4(field: VertexField)FVector4Reads an FVector4 value from the specified vertex field
readVector3(field: VertexField)Vector3Reads a Vector3 value from the specified vertex field
readFVector3(field: VertexField)FVector3Reads an FVector3 value from the specified vertex field
readVector2(field: VertexField)Vector2Reads a Vector2 value from the specified vertex field
readFVector2(field: VertexField)FVector2Reads an FVector2 value from the specified vertex field
readDouble(field: VertexField)numberReads a double-precision number from the specified vertex field
readFloat(field: VertexField)numberReads a single-precision number from the specified vertex field

See Also