- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.dfx.Tuple3dfx<Point3dfx>
-
- org.arakhne.afc.math.geometry.d3.dfx.Point3dfx
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Point3D<Point3dfx,Vector3dfx>
,Tuple3D<Point3dfx>
,JsonableObject
- Direct Known Subclasses:
OrientedPoint3dfx
public class Point3dfx extends Tuple3dfx<Point3dfx> implements Point3D<Point3dfx,Vector3dfx>
3D Point with 3 double precision floating-point FX properties.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND, Olivier LAMOTTE, Hamza JAFFALI, Thomas PIOTROWSKI
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- mathfx
-
-
Constructor Summary
Constructors Constructor Description Point3dfx()
Construct a zero point.Point3dfx(double[] tuple)
Constructor by copy.Point3dfx(double x, double y, double z)
Construct a point with the given coordinates.Point3dfx(float x, float y, float z)
Construct a point with the given coordinates.Point3dfx(int[] tuple)
Constructor by copy.Point3dfx(int x, int y, int z)
Construct a point with the given coordinates.Point3dfx(long x, long y, long z)
Construct a point with the given coordinates.Point3dfx(javafx.beans.property.DoubleProperty x, javafx.beans.property.DoubleProperty y, javafx.beans.property.DoubleProperty z)
Construct a point with the given properties for its coordinates.Point3dfx(Tuple3D<?> tuple)
Constructor by copy.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Point3dfx
convert(Tuple3D<?> tuple)
Convert the given tuple to a real Point3dfx.GeomFactory3dfx
getGeomFactory()
Replies the geometry factory associated to this point.UnmodifiablePoint3D<Point3dfx,Vector3dfx>
toUnmodifiable()
Replies an unmodifiable copy of this vector.-
Methods inherited from class org.arakhne.afc.math.geometry.d3.dfx.Tuple3dfx
clone, equals, getX, getY, getZ, hashCode, ix, iy, iz, set, 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
-
Point3dfx
public Point3dfx()
Construct a zero point.
-
Point3dfx
public Point3dfx(javafx.beans.property.DoubleProperty x, javafx.beans.property.DoubleProperty y, javafx.beans.property.DoubleProperty 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.
-
Point3dfx
public Point3dfx(Tuple3D<?> tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3dfx
public Point3dfx(int[] tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3dfx
public Point3dfx(double[] tuple)
Constructor by copy.- Parameters:
tuple
- is the tuple to copy.
-
Point3dfx
public Point3dfx(int x, int y, int z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3dfx
public Point3dfx(float x, float y, float z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3dfx
public Point3dfx(double x, double y, double z)
Construct a point with the given coordinates.- Parameters:
x
- x coordinate.y
- y coordinate.z
- z coordinate.
-
Point3dfx
public Point3dfx(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 Point3dfx convert(Tuple3D<?> tuple)
Convert the given tuple to a real Point3dfx.If the given tuple is already a Point3dfx, it is replied.
- Parameters:
tuple
- the tuple.- Returns:
- the Point3dfx.
- Since:
- 14.0
-
getGeomFactory
public GeomFactory3dfx getGeomFactory()
Description copied from interface:Point3D
Replies the geometry factory associated to this point.- Specified by:
getGeomFactory
in interfacePoint3D<Point3dfx,Vector3dfx>
- Returns:
- the factory.
-
toUnmodifiable
public UnmodifiablePoint3D<Point3dfx,Vector3dfx> toUnmodifiable()
Description copied from interface:Point3D
Replies an unmodifiable copy of this vector.- Specified by:
toUnmodifiable
in interfacePoint3D<Point3dfx,Vector3dfx>
- Returns:
- an unmodifiable copy.
-
-