Package net.frozenblock.lib.math.api
Class Point3D.Float
java.lang.Object
net.frozenblock.lib.math.api.Point3D
net.frozenblock.lib.math.api.Point3D.Float
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
- Point3D
The
Float class defines a point in 3D space specified in float
precision.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.frozenblock.lib.math.api.Point3D
Point3D.Double, Point3D.Float -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetX()doublegetY()doublegetZ()voidsetLocation(double x, double y, double z) voidsetLocation(float x, float y, float z) toString()Methods inherited from class net.frozenblock.lib.math.api.Point3D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
-
Field Details
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
Float
public Float() -
Float
public Float(float x, float y, float z)
-
-
Method Details
-
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
setLocation
public void setLocation(double x, double y, double z) - Specified by:
setLocationin classPoint3D
-
setLocation
public void setLocation(float x, float y, float z) -
toString
-