com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class Vertex

  • java.lang.Object
    • com.aspose.threed.Vertex
  • All Implemented Interfaces:
    java.lang.Comparable<Vertex>


    public abstract class Vertex
    extends java.lang.Object
    implements java.lang.Comparable<Vertex>
    Vertex reference, used to access the raw vertex in TriMesh.
    • Constructor Detail

      • Vertex

        public Vertex()
    • Method Detail

      • compareTo

        public abstract int compareTo(Vertex other)
        Compare the vertex with another vertex instance
        Specified by:
        compareTo in interface java.lang.Comparable<Vertex>
        Parameters:
        other -
      • readVector4

        public Vector4 readVector4(VertexField field)
        Read the vector4 field
        Parameters:
        field - The field with a Vector4/FVector4 data type
      • readFVector4

        public FVector4 readFVector4(VertexField field)
        Read the vector4 field
        Parameters:
        field - The field with a Vector4/FVector4 data type
      • readVector3

        public Vector3 readVector3(VertexField field)
        Read the vector3 field
        Parameters:
        field - The field with a Vector3/FVector3 data type
      • readFVector3

        public FVector3 readFVector3(VertexField field)
        Read the vector3 field
        Parameters:
        field - The field with a Vector3/FVector3 data type
      • readVector2

        public Vector2 readVector2(VertexField field)
        Read the vector2 field
        Parameters:
        field - The field with a Vector2/FVector2 data type
      • readFVector2

        public FVector2 readFVector2(VertexField field)
        Read the vector2 field
        Parameters:
        field - The field with a Vector2/FVector2 data type
      • readDouble

        public double readDouble(VertexField field)
        Read the double field
        Parameters:
        field - The field with a float/double compatible data type
      • readFloat

        public float readFloat(VertexField field)
        Read the float field
        Parameters:
        field - The field with a float/double compatible data type