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 class Vertex
    extends java.lang.Object
    implements java.lang.Comparable<Vertex>
    Vertex reference, used to access the raw vertex in TriMesh.
    • Method Detail

      • toString

        public java.lang.String toString()
        Gets the string representation of Vertex
        Overrides:
        toString in class java.lang.Object
      • compareTo

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

        public boolean equals(java.lang.Object obj)
        Check if two objects are equal.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj -
      • 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
      • hashCode

        public int hashCode()
        Gets the hash code of the vertex
        Overrides:
        hashCode in class java.lang.Object