Vertex

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Comparable

public abstract class Vertex implements Comparable<Vertex>

Vertex reference, used to access the raw vertex in TriMesh.

Constructors

ConstructorDescription
Vertex()

Methods

MethodDescription
compareTo(Vertex other)Compare the vertex with another vertex instance
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
readDouble(VertexField field)Read the double field
readFVector2(VertexField field)Read the vector2 field
readFVector3(VertexField field)Read the vector3 field
readFVector4(VertexField field)Read the vector4 field
readFloat(VertexField field)Read the float field
readVector2(VertexField field)Read the vector2 field
readVector3(VertexField field)Read the vector3 field
readVector4(VertexField field)Read the vector4 field
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Vertex()

public Vertex()

compareTo(Vertex other)

public abstract int compareTo(Vertex other)

Compare the vertex with another vertex instance

Parameters:

ParameterTypeDescription
otherVertex

Returns: int

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

readDouble(VertexField field)

public double readDouble(VertexField field)

Read the double field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a float/double compatible data type

Returns: double

readFVector2(VertexField field)

public FVector2 readFVector2(VertexField field)

Read the vector2 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector2/FVector2 data type

Returns: FVector2

readFVector3(VertexField field)

public FVector3 readFVector3(VertexField field)

Read the vector3 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector3/FVector3 data type

Returns: FVector3

readFVector4(VertexField field)

public FVector4 readFVector4(VertexField field)

Read the vector4 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector4/FVector4 data type

Returns: FVector4

readFloat(VertexField field)

public float readFloat(VertexField field)

Read the float field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a float/double compatible data type

Returns: float

readVector2(VertexField field)

public Vector2 readVector2(VertexField field)

Read the vector2 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector2/FVector2 data type

Returns: Vector2

readVector3(VertexField field)

public Vector3 readVector3(VertexField field)

Read the vector3 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector3/FVector3 data type

Returns: Vector3

readVector4(VertexField field)

public Vector4 readVector4(VertexField field)

Read the vector4 field

Parameters:

ParameterTypeDescription
fieldVertexFieldThe field with a Vector4/FVector4 data type

Returns: Vector4

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int