- java.lang.Object
-
- org.arakhne.afc.math.geometry.d1.dfx.Tuple1dfx<Point1dfx>
-
- org.arakhne.afc.math.geometry.d1.dfx.Point1dfx
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Point1D<?,?,?>>
,Point1D<Point1dfx,Vector1dfx,Segment1D<?,?>>
,Tuple2D<Point1dfx>
,JsonableObject
public class Point1dfx extends Tuple1dfx<Point1dfx> implements Point1D<Point1dfx,Vector1dfx,Segment1D<?,?>>
1.5D Point with 2 double precision floating-point FX properties.- Since:
- 14.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 Point1dfx()
Construct a zero vector.Point1dfx(javafx.beans.property.ObjectProperty<WeakReference<Segment1D<?,?>>> segment, javafx.beans.property.DoubleProperty x, javafx.beans.property.DoubleProperty y)
Construct a zero point.Point1dfx(Point1D<?,?,?> tuple)
Construct a zero vector.Point1dfx(Segment1D<?,?> segment)
Construct a zero vector.Point1dfx(Segment1D<?,?> segment, double[] tuple)
Constructor by copy.Point1dfx(Segment1D<?,?> segment, double x, double y)
Construct a vector with the given coordinates.Point1dfx(Segment1D<?,?> segment, float x, float y)
Construct a vector with the given coordinates.Point1dfx(Segment1D<?,?> segment, int[] tuple)
Constructor by copy.Point1dfx(Segment1D<?,?> segment, int x, int y)
Construct a vector with the given coordinates.Point1dfx(Segment1D<?,?> segment, long x, long y)
Construct a vector with the given coordinates.Point1dfx(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy.Point1dfx(Vector1D<?,?,?> tuple)
Construct a zero vector.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Point1dfx
convert(Tuple1dfx<?> tuple)
Convert the given tuple to a real Point1dfx.UnmodifiablePoint1D<Point1dfx,Vector1dfx,Segment1D<?,?>>
toUnmodifiable()
Replies an unmodifiable copy of this point.-
Methods inherited from class org.arakhne.afc.math.geometry.d1.dfx.Tuple1dfx
absolute, absolute, add, add, addX, addX, addY, addY, clone, equals, getGeomFactory, getSegment, getX, getY, hashCode, ix, iy, negate, negate, scale, scale, scale, scale, segmentProperty, set, set, set, set, set, set, set, setSegment, setX, setX, setY, setY, sub, sub, subX, subX, subY, subY, toJson, toString, xProperty, yProperty
-
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.d1.Point1D
$minus, $minus, $minus, $plus, $plus, add, clamp, compareTo, epsilonEquals, equals, equals, getCurvilineCoordinate, getDistance, getDistanceCurviline, getDistanceL1, getDistanceLinf, getDistanceShift, getDistanceSquared, getGeomFactory, getLateralDistance, getSegment, hashCode, isOnSameSegment, isOnSegment, operator_add, operator_elvis, operator_equals, operator_minus, operator_minus, operator_minus, operator_notEquals, operator_plus, operator_plus, operator_remove, operator_upTo, set, set, set, setCurvilineCoordinate, setLateralDistance, setSegment, sub
-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.Tuple2D
absolute, absolute, add, add, addX, addX, addY, addY, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, clone, epsilonEquals, equals, get, get, get, getX, getY, interpolate, interpolate, ix, iy, negate, negate, scale, scale, scale, scale, set, set, set, set, set, setX, setX, setY, setY, sub, sub, subX, subX, subY, subY
-
-
-
-
Constructor Detail
-
Point1dfx
public Point1dfx(javafx.beans.property.ObjectProperty<WeakReference<Segment1D<?,?>>> segment, javafx.beans.property.DoubleProperty x, javafx.beans.property.DoubleProperty y)
Construct a zero point.- Parameters:
segment
- the segment associated to the tuple.x
- curviline coordinate.y
- shift distance.
-
Point1dfx
public Point1dfx(Vector1D<?,?,?> tuple)
Construct a zero vector.- Parameters:
tuple
- the tuple to copy.
-
Point1dfx
public Point1dfx(Point1D<?,?,?> tuple)
Construct a zero vector.- Parameters:
tuple
- the tuple to copy.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment)
Construct a zero vector.- Parameters:
segment
- the segment associated to the vector.
-
Point1dfx
public Point1dfx()
Construct a zero vector.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy.- Parameters:
segment
- the segment associated to the vector.tuple
- is the tuple to copy.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, int[] tuple)
Constructor by copy.- Parameters:
segment
- the segment associated to the vector.tuple
- is the tuple to copy.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, double[] tuple)
Constructor by copy.- Parameters:
segment
- the segment associated to the vector.tuple
- is the tuple to copy.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, int x, int y)
Construct a vector with the given coordinates.- Parameters:
segment
- the segment associated to the vector.x
- x coordinate.y
- y coordinate.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, float x, float y)
Construct a vector with the given coordinates.- Parameters:
segment
- the segment associated to the vector.x
- x coordinate.y
- y coordinate.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, double x, double y)
Construct a vector with the given coordinates.- Parameters:
segment
- the segment associated to the vector.x
- x coordinate.y
- y coordinate.
-
Point1dfx
public Point1dfx(Segment1D<?,?> segment, long x, long y)
Construct a vector with the given coordinates.- Parameters:
segment
- the segment associated to the vector.x
- x coordinate.y
- y coordinate.
-
-
Method Detail
-
convert
public static Point1dfx convert(Tuple1dfx<?> tuple)
Convert the given tuple to a real Point1dfx.If the given tuple is already a Point1dfx, it is replied.
- Parameters:
tuple
- the tuple.- Returns:
- the Point1dfx.
- Since:
- 14.0
-
toUnmodifiable
public UnmodifiablePoint1D<Point1dfx,Vector1dfx,Segment1D<?,?>> toUnmodifiable()
Description copied from interface:Point1D
Replies an unmodifiable copy of this point.- Specified by:
toUnmodifiable
in interfacePoint1D<Point1dfx,Vector1dfx,Segment1D<?,?>>
- Returns:
- an unmodifiable copy.
-
-