public class VertexDataUnit extends Object implements com.aspose.ms.System.IEquatable<VertexDataUnit>
The coordinates of the vertices triangle facets.
| Constructor and Description |
|---|
VertexDataUnit(float x,
float y,
float z)
Initializes a new instance of the
VertexDataUnit class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether the current object is equal to another object.
|
boolean |
equals(VertexDataUnit other)
Indicates whether the current object is equal to another object of the same type.
|
float |
getX()
Gets or sets the X-Coordinate.
|
float |
getY()
Gets or sets the Y-Coordinate.
|
float |
getZ()
Gets or sets the Z-Coordinate.
|
int |
hashCode()
Gets hash code.
|
static boolean |
op_Equality(VertexDataUnit a,
VertexDataUnit b)
Overloading the equality operator.
|
static boolean |
op_Inequality(VertexDataUnit a,
VertexDataUnit b)
Overloading the inequality operator.
|
public VertexDataUnit(float x,
float y,
float z)
Initializes a new instance of the VertexDataUnit class.
x - The x coordinate.y - The y coordinate.z - The z coordinate.public final float getX()
Gets or sets the X-Coordinate.
public final float getY()
Gets or sets the Y-Coordinate.
public final float getZ()
Gets or sets the Z-Coordinate.
public static boolean op_Equality(VertexDataUnit a, VertexDataUnit b)
Overloading the equality operator.
a - The first instance.b - The second instance.public static boolean op_Inequality(VertexDataUnit a, VertexDataUnit 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.
equals in interface com.aspose.ms.System.IEquatable<VertexDataUnit>equals in class Objectobj - An object to compare with this object.obj parameter; otherwise, false.public final boolean equals(VertexDataUnit 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.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.