Class AbstractShape3dfx<T extends AbstractShape3dfx<?>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.dfx.AbstractShape3dfx<T>
-
- Type Parameters:
T
- the type of the shape.
- All Implemented Interfaces:
Serializable
,Cloneable
,Shape3afp<Shape3dfx<?>,T,PathElement3dfx,Point3dfx,Vector3dfx,RectangularPrism3dfx>
,Shape3dfx<T>
,Shape3D<Shape3dfx<?>,T,PathIterator3afp<PathElement3dfx>,Point3dfx,Vector3dfx,RectangularPrism3dfx>
,JsonableObject
- Direct Known Subclasses:
MultiShape3dfx
,Path3dfx
,RectangularPrism3dfx
,Segment3dfx
,Sphere3dfx
public abstract class AbstractShape3dfx<T extends AbstractShape3dfx<?>> extends Object implements Shape3dfx<T>
Abstract shape 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
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.beans.property.ObjectProperty<RectangularPrism3dfx>
boundingBox
Bounding box property.
-
Constructor Summary
Constructors Constructor Description AbstractShape3dfx()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
clone()
Clone this shape.boolean
equals(Object obj)
GeomFactory3dfx
getGeomFactory()
Replies the geometry factory associated to this point.abstract int
hashCode()
void
toJson(JsonBuffer buffer)
Replies the Json representation of this node.String
toString()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.arakhne.afc.math.geometry.d3.afp.Shape3afp
contains, contains, contains, contains, createTransformedShape, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, intersects, intersects, intersects, intersects, intersects, intersects, intersects, toBoundingBox, translate, translate
-
Methods inherited from interface org.arakhne.afc.math.geometry.d3.Shape3D
clear, equalsToPathIterator, equalsToShape, getClosestPointTo, getDistance, getDistance, getDistanceL1, getDistanceLinf, getDistanceSquared, getFarthestPointTo, getPathIterator, getPathIterator, isEmpty, operator_add, operator_and, operator_and, operator_minus, operator_multiply, operator_plus, operator_remove, operator_upTo, set, toBoundingBox
-
Methods inherited from interface org.arakhne.afc.math.geometry.d3.dfx.Shape3dfx
boundingBoxProperty
-
-
-
-
Field Detail
-
boundingBox
protected javafx.beans.property.ObjectProperty<RectangularPrism3dfx> boundingBox
Bounding box property.
-
-
Method Detail
-
clone
public T clone()
Description copied from interface:Shape3D
Clone this shape.- Specified by:
clone
in interfaceShape3D<Shape3dfx<?>,T extends AbstractShape3dfx<?>,PathIterator3afp<PathElement3dfx>,Point3dfx,Vector3dfx,RectangularPrism3dfx>
- Overrides:
clone
in classObject
- Returns:
- the clone.
-
getGeomFactory
public final GeomFactory3dfx getGeomFactory()
Description copied from interface:Shape3D
Replies the geometry factory associated to this point.- Specified by:
getGeomFactory
in interfaceShape3afp<Shape3dfx<?>,T extends AbstractShape3dfx<?>,PathElement3dfx,Point3dfx,Vector3dfx,RectangularPrism3dfx>
- Specified by:
getGeomFactory
in interfaceShape3D<Shape3dfx<?>,T extends AbstractShape3dfx<?>,PathIterator3afp<PathElement3dfx>,Point3dfx,Vector3dfx,RectangularPrism3dfx>
- Returns:
- the factory.
-
toJson
public void toJson(JsonBuffer buffer)
Description copied from interface:JsonableObject
Replies the Json representation of this node.- Specified by:
toJson
in interfaceJsonableObject
- Parameters:
buffer
- the Json buffer.
-
-