- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.ifx.Tuple3ifx<Point3ifx>
-
- org.arakhne.afc.math.geometry.d3.ifx.Point3ifx
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Point3D<Point3ifx,Vector3ifx>
,Tuple3D<Point3ifx>
,JsonableObject
- Direct Known Subclasses:
OrientedPoint3ifx
public class Point3ifx extends Tuple3ifx<Point3ifx> implements Point3D<Point3ifx,Vector3ifx>
3D Point with 3 integer FX properties.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- mathfx
-
-
Constructor Summary
Constructors Constructor Description Point3ifx()
Construct a zero point.Point3ifx(double[] tuple)
Constructor by copy.Point3ifx(double x, double y, double z)
Construct a point with the given coordinates.Point3ifx(float x, float y, float z)
Construct a point with the given coordinates.Point3ifx(int[] tuple)
Constructor by copy.Point3ifx(int x, int y, int z)
Construct a point with the given coordinates.Point3ifx(long x, long y, long z)
Construct a point with the given coordinates.Point3ifx(javafx.beans.property.IntegerProperty x, javafx.beans.property.IntegerProperty y, javafx.beans.property.IntegerProperty z)
Construct a point with the given properties for its coordinates.Point3ifx(Tuple3D<?> tuple)
Constructor by copy.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Point3ifx
convert(Tuple3D<?> tuple)
Convert the given tuple to a real Point3ifx.GeomFactory3ifx
getGeomFactory()
Replies the geometry factory associated to this point.UnmodifiablePoint3D<Point3ifx,Vector3ifx>
toUnmodifiable()
Replies an unmodifiable copy of this vector.-
Methods inherited from class org.arakhne.afc.math.geometry.d3.ifx.Tuple3ifx
clone, equals, getX, getY, getZ, hashCode, ix, iy, iz, setX, setX, setY, setY, setZ, setZ, toJson, toString, xProperty, yProperty, zProperty
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
Methods inherited from interface org.arakhne.afc.math.geometry.d3.Point3D
add, add, add, getDistance, getDistanceL1, getDistanceLinf, getDistanceSquared, getIdistanceL1, getIdistanceLinf, operator_add, operator_and, operator_elvis, operator_equals, operator_minus, operator_minus, operator_notEquals, operator_plus, operator_remove, operator_upTo, operator_upTo, scaleAdd, scaleAdd, scaleAdd, scaleAdd, scaleAdd, scaleAdd, sub, sub
-
Methods inherited from interface org.arakhne.afc.math.geometry.d3.Tuple3D
absolute, absolute, add, add, addX, addX, addY, addY, addZ, addZ, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, get, get, getX, getY, getZ, hashCode, interpolate, interpolate, ix, iy, iz, negate, negate, scale, scale, scale, scale, set, set, set, set, set, setX, setX, setY, setY, setZ, setZ, sub, sub, subX, subX, subY, subY, subZ, subZ
-
-
-
-
Constructor Detail
-
Point3ifx
public Point3ifx()
Construct a zero point.
-
Point3ifx
public Point3ifx(javafx.beans.property.IntegerProperty x, javafx.beans.property.IntegerProperty y, javafx.beans.property.IntegerProperty z)
Construct a point with the given properties for its coordinates.- Parameters:
x
- property for the x coordinate.y
- property for the y coordinate.z
- property for the z coordinate.
-
Point3ifx
public Point3ifx(Tuple3D<?> tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3ifx
public Point3ifx(int[] tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3ifx
public Point3ifx(double[] tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3ifx
public Point3ifx(int x, int y, int z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3ifx
public Point3ifx(float x, float y, float z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3ifx
public Point3ifx(double x, double y, double z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3ifx
public Point3ifx(long x, long y, long z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
-
Method Detail
-
convert
public static Point3ifx convert(Tuple3D<?> tuple)
Convert the given tuple to a real Point3ifx.If the given tuple is already a Point3ifx, it is replied.
- Parameters:
tuple
- the tuple.- Returns:
- the Point3ifx.
- Since:
- 14.0
-
getGeomFactory
public GeomFactory3ifx getGeomFactory()
Description copied from interface:Point3D
Replies the geometry factory associated to this point.- Specified by:
getGeomFactory
in interfacePoint3D<Point3ifx,Vector3ifx>
- Returns:
- the factory.
-
toUnmodifiable
@Pure public UnmodifiablePoint3D<Point3ifx,Vector3ifx> toUnmodifiable()
Description copied from interface:Point3D
Replies an unmodifiable copy of this vector.- Specified by:
toUnmodifiable
in interfacePoint3D<Point3ifx,Vector3ifx>
- Returns:
- an unmodifiable copy.
-
-