Modifier and Type | Method and Description |
---|---|
int |
compareTo(Vertex other)
Compare the vertex with another vertex instance
|
boolean |
equals(java.lang.Object obj)
Check if two objects are equal.
|
int |
hashCode()
Gets the hash code of the vertex
|
double |
readDouble(VertexField field)
Read the double field
|
float |
readFloat(VertexField field)
Read the float field
|
FVector2 |
readFVector2(VertexField field)
Read the vector2 field
|
FVector3 |
readFVector3(VertexField field)
Read the vector3 field
|
FVector4 |
readFVector4(VertexField field)
Read the vector4 field
|
Vector2 |
readVector2(VertexField field)
Read the vector2 field
|
Vector3 |
readVector3(VertexField field)
Read the vector3 field
|
Vector4 |
readVector4(VertexField field)
Read the vector4 field
|
java.lang.String |
toString()
Gets the string representation of
Vertex |
public java.lang.String toString()
Vertex
toString
in class java.lang.Object
public int compareTo(Vertex other)
compareTo
in interface java.lang.Comparable<Vertex>
other
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public Vector4 readVector4(VertexField field)
field
- The field with a Vector4/FVector4 data typepublic FVector4 readFVector4(VertexField field)
field
- The field with a Vector4/FVector4 data typepublic Vector3 readVector3(VertexField field)
field
- The field with a Vector3/FVector3 data typepublic FVector3 readFVector3(VertexField field)
field
- The field with a Vector3/FVector3 data typepublic Vector2 readVector2(VertexField field)
field
- The field with a Vector2/FVector2 data typepublic FVector2 readFVector2(VertexField field)
field
- The field with a Vector2/FVector2 data typepublic double readDouble(VertexField field)
field
- The field with a float/double compatible data typepublic float readFloat(VertexField field)
field
- The field with a float/double compatible data typepublic int hashCode()
hashCode
in class java.lang.Object