public class ObjVertex extends Object implements com.aspose.ms.System.IEquatable<ObjVertex>
The OBJ vertex.
Constructor and Description |
---|
ObjVertex(float x,
float y,
float z)
Initializes a new instance of the
ObjVertex class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether the current object is equal to another object.
|
boolean |
equals(ObjVertex other)
Indicates whether the current object is equal to another object of the same type.
|
float |
getX()
Gets the x coordinate.
|
float |
getY()
Gets the y coordinate.
|
float |
getZ()
Gets the z coordinate.
|
int |
hashCode()
Gets hash code.
|
static boolean |
op_Equality(ObjVertex a,
ObjVertex b)
Overloading the equality operator.
|
static boolean |
op_Inequality(ObjVertex a,
ObjVertex b)
Overloading the inequality operator.
|
public ObjVertex(float x, float y, float z)
Initializes a new instance of the ObjVertex
class.
x
- The x coordinate.y
- The y coordinate.z
- The z coordinate.public final float getX()
Gets the x coordinate.
public final float getY()
Gets the y coordinate.
public final float getZ()
Gets the z coordinate.
public static boolean op_Equality(ObjVertex a, ObjVertex b)
Overloading the equality operator.
a
- The first instance.b
- The second instance.public static boolean op_Inequality(ObjVertex a, ObjVertex b)
Overloading the inequality operator.
a
- The first instance.b
- The second instance.public boolean equals(Object obj)
Indicates whether the current object is equal to another object.
public final boolean equals(ObjVertex other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.other
parameter; otherwise, false.