- java.lang.Object
-
- io.github.humbleui.types.Point3
-
public class Point3 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Point3(float x, float y, float z)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)floatgetX()floatgetY()floatgetZ()inthashCode()java.lang.StringtoString()Point3withX(float _x)Point3withY(float _y)Point3withZ(float _z)
-
-
-
Field Detail
-
ZERO
public static final Point ZERO
-
_x
@Internal public final float _x
-
_y
@Internal public final float _y
-
_z
@Internal public final float _z
-
-
Method Detail
-
getX
public float getX()
-
getY
public float getY()
-
getZ
public float getZ()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withX
public Point3 withX(float _x)
- Returns:
this.
-
withY
public Point3 withY(float _y)
- Returns:
this.
-
withZ
public Point3 withZ(float _z)
- Returns:
this.
-
-