Class PathElement3ifx.ClosePathElement3ifx
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.ifx.PathElement3ifx
-
- org.arakhne.afc.math.geometry.d3.ifx.PathElement3ifx.ClosePathElement3ifx
-
- All Implemented Interfaces:
Serializable,Cloneable,PathElement3ai,PathElement3D
- Enclosing class:
- PathElement3ifx
static class PathElement3ifx.ClosePathElement3ifx extends PathElement3ifx
An element of the path that represents aCLOSE.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND, Thomas PIOTROWSKI
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- mathfx
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.arakhne.afc.math.geometry.d3.ifx.PathElement3ifx
PathElement3ifx.ClosePathElement3ifx, PathElement3ifx.CurvePathElement3ifx, PathElement3ifx.LinePathElement2ifx, PathElement3ifx.MovePathElement3ifx, PathElement3ifx.QuadPathElement3ifx
-
-
Field Summary
-
Fields inherited from class org.arakhne.afc.math.geometry.d3.ifx.PathElement3ifx
isEmpty, to, type
-
-
Constructor Summary
Constructors Constructor Description ClosePathElement3ifx(javafx.beans.property.IntegerProperty fromx, javafx.beans.property.IntegerProperty fromy, javafx.beans.property.IntegerProperty fromz, javafx.beans.property.IntegerProperty tox, javafx.beans.property.IntegerProperty toy, javafx.beans.property.IntegerProperty toz)Constructor.ClosePathElement3ifx(Point3ifx fromPoint, Point3ifx toPoint)Constructor by setting.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.IntegerPropertyctrlX1Property()Replies the x coordinate of the first control point property.javafx.beans.property.IntegerPropertyctrlX2Property()Replies the x coordinate of the second control point property.javafx.beans.property.IntegerPropertyctrlY1Property()Replies the y coordinate of the first control point property.javafx.beans.property.IntegerPropertyctrlY2Property()Replies the y coordinate of the second control point property.javafx.beans.property.IntegerPropertyctrlZ1Property()Replies the z coordinate of the first control point property.javafx.beans.property.IntegerPropertyctrlZ2Property()Replies the z coordinate of the second control point property.booleanequals(Object obj)javafx.beans.property.IntegerPropertyfromXProperty()Replies the x coordinate of the starting point property.javafx.beans.property.IntegerPropertyfromYProperty()Replies the y coordinate of the starting point property.javafx.beans.property.IntegerPropertyfromZProperty()Replies the z coordinate of the starting point property.intgetCtrlX1()Replies the x coordinate of the first control point.intgetCtrlX2()Replies the x coordinate of the second control point.intgetCtrlY1()Replies the y coordinate of the first control point.intgetCtrlY2()Replies the y coordinate of the second control point.intgetCtrlZ1()Replies the z coordinate of the first control point.intgetCtrlZ2()Replies the z coordinate of the second control point.intgetFromX()Replies the x coordinate of the starting point.intgetFromY()Replies the y coordinate of the starting point.intgetFromZ()Replies the z coordinate of the starting point.inthashCode()booleanisDrawable()Replies if the element is not empty and is drawable.javafx.beans.property.BooleanPropertyisEmptyProperty()Replies the property that indicates if this patth element is empty.javafx.beans.property.IntegerProperty[]toArray()Copy the coords into an array, except the source point.voidtoArray(double[] array)Copy the coords into the given array, except the source point.voidtoArray(int[] array)Copy the coords into the given array, except the source point.voidtoArray(javafx.beans.property.IntegerProperty[] array)Copy the coords into the given array, except the source point.-
Methods inherited from class org.arakhne.afc.math.geometry.d3.ifx.PathElement3ifx
getToX, getToY, getToZ, getType, isEmpty, toString, toXProperty, toYProperty, toZProperty
-
-
-
-
Constructor Detail
-
ClosePathElement3ifx
ClosePathElement3ifx(javafx.beans.property.IntegerProperty fromx, javafx.beans.property.IntegerProperty fromy, javafx.beans.property.IntegerProperty fromz, javafx.beans.property.IntegerProperty tox, javafx.beans.property.IntegerProperty toy, javafx.beans.property.IntegerProperty toz)Constructor.- Parameters:
fromx- x coordinate of the origin point.fromy- y coordinate of the origin point.fromz- z coordinate of the origin point.tox- x coordinate of the target point.toy- y coordinate of the target point.toz- z coordinate of the target point.
-
-
Method Detail
-
equals
@Pure public boolean equals(Object obj)
- Specified by:
equalsin classPathElement3ifx
-
hashCode
@Pure public int hashCode()
- Specified by:
hashCodein classPathElement3ifx
-
isEmptyProperty
@Pure public javafx.beans.property.BooleanProperty isEmptyProperty()
Description copied from class:PathElement3ifxReplies the property that indicates if this patth element is empty.- Specified by:
isEmptyPropertyin classPathElement3ifx- Returns:
- the isEmpty property.
-
isDrawable
@Pure public boolean isDrawable()
Description copied from interface:PathElement3DReplies if the element is not empty and is drawable.Only the path elements that may produce pixels on the screen must reply
truein this function.- Returns:
trueif the path element is drawable; otherwisefalse.
-
toArray
@Pure public void toArray(int[] array)
Description copied from interface:PathElement3aiCopy the coords into the given array, except the source point.- Parameters:
array- the output array.
-
toArray
@Pure public void toArray(double[] array)
Description copied from interface:PathElement3aiCopy the coords into the given array, except the source point.- Parameters:
array- the output array.
-
toArray
@Pure public javafx.beans.property.IntegerProperty[] toArray()
Description copied from class:PathElement3ifxCopy the coords into an array, except the source point.- Specified by:
toArrayin classPathElement3ifx- Returns:
- the array of the points, except the source point.
-
toArray
@Pure public void toArray(javafx.beans.property.IntegerProperty[] array)
Description copied from class:PathElement3ifxCopy the coords into the given array, except the source point.- Specified by:
toArrayin classPathElement3ifx- Parameters:
array- the output array.
-
getFromX
@Pure public int getFromX()
Description copied from interface:PathElement3aiReplies the x coordinate of the starting point.- Returns:
- the x coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO.
-
getFromY
@Pure public int getFromY()
Description copied from interface:PathElement3aiReplies the y coordinate of the starting point.- Returns:
- the y coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO.
-
getFromZ
@Pure public int getFromZ()
Description copied from interface:PathElement3aiReplies the z coordinate of the starting point.- Returns:
- the z coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO.
-
getCtrlX1
@Pure public int getCtrlX1()
Description copied from interface:PathElement3aiReplies the x coordinate of the first control point.- Returns:
- the x coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
getCtrlY1
@Pure public int getCtrlY1()
Description copied from interface:PathElement3aiReplies the y coordinate of the first control point.- Returns:
- the y coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
getCtrlZ1
@Pure public int getCtrlZ1()
Description copied from interface:PathElement3aiReplies the z coordinate of the first control point.- Returns:
- the z coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
getCtrlX2
@Pure public int getCtrlX2()
Description copied from interface:PathElement3aiReplies the x coordinate of the second control point.- Returns:
- the x coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
getCtrlY2
@Pure public int getCtrlY2()
Description copied from interface:PathElement3aiReplies the y coordinate of the second control point.- Returns:
- the y coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
getCtrlZ2
@Pure public int getCtrlZ2()
Description copied from interface:PathElement3aiReplies the z coordinate of the second control point.- Returns:
- the z coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
fromXProperty
@Pure public javafx.beans.property.IntegerProperty fromXProperty()
Description copied from class:PathElement3ifxReplies the x coordinate of the starting point property.- Specified by:
fromXPropertyin classPathElement3ifx- Returns:
- the x coordinate, or
nullif the type isPathElementType.MOVE_TO.
-
fromYProperty
@Pure public javafx.beans.property.IntegerProperty fromYProperty()
Description copied from class:PathElement3ifxReplies the y coordinate of the starting point property.- Specified by:
fromYPropertyin classPathElement3ifx- Returns:
- the y coordinate, or
nullif the type isPathElementType.MOVE_TO.
-
fromZProperty
@Pure public javafx.beans.property.IntegerProperty fromZProperty()
Description copied from class:PathElement3ifxReplies the z coordinate of the starting point property.- Specified by:
fromZPropertyin classPathElement3ifx- Returns:
- the z coordinate, or
nullif the type isPathElementType.MOVE_TO.
-
ctrlX1Property
@Pure public javafx.beans.property.IntegerProperty ctrlX1Property()
Description copied from class:PathElement3ifxReplies the x coordinate of the first control point property.- Specified by:
ctrlX1Propertyin classPathElement3ifx- Returns:
- the x coordinate, or
nullif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
ctrlY1Property
@Pure public javafx.beans.property.IntegerProperty ctrlY1Property()
Description copied from class:PathElement3ifxReplies the y coordinate of the first control point property.- Specified by:
ctrlY1Propertyin classPathElement3ifx- Returns:
- the y coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
ctrlZ1Property
@Pure public javafx.beans.property.IntegerProperty ctrlZ1Property()
Description copied from class:PathElement3ifxReplies the z coordinate of the first control point property.- Specified by:
ctrlZ1Propertyin classPathElement3ifx- Returns:
- the z coordinate, or
Double.NaNif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO, orPathElementType.CLOSE.
-
ctrlX2Property
@Pure public javafx.beans.property.IntegerProperty ctrlX2Property()
Description copied from class:PathElement3ifxReplies the x coordinate of the second control point property.- Specified by:
ctrlX2Propertyin classPathElement3ifx- Returns:
- the x coordinate, or
nullif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
ctrlY2Property
@Pure public javafx.beans.property.IntegerProperty ctrlY2Property()
Description copied from class:PathElement3ifxReplies the y coordinate of the second control point property.- Specified by:
ctrlY2Propertyin classPathElement3ifx- Returns:
- the y coordinate, or
nullif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
ctrlZ2Property
@Pure public javafx.beans.property.IntegerProperty ctrlZ2Property()
Description copied from class:PathElement3ifxReplies the z coordinate of the second control point property.- Specified by:
ctrlZ2Propertyin classPathElement3ifx- Returns:
- the z coordinate, or
nullif the type isPathElementType.MOVE_TO,PathElementType.LINE_TO,PathElementType.QUAD_TO, orPathElementType.CLOSE.
-
-