Class AbstractShape2ifx<T extends AbstractShape2ifx<?>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.ifx.AbstractShape2ifx<T>
-
- Type Parameters:
T
- the type of the shape.
- All Implemented Interfaces:
Serializable
,Cloneable
,Shape2ai<Shape2ifx<?>,T,PathElement2ifx,Point2ifx,Vector2ifx,Rectangle2ifx>
,Shape2ifx<T>
,Shape2D<Shape2ifx<?>,T,PathIterator2ai<PathElement2ifx>,Point2ifx,Vector2ifx,Rectangle2ifx>
,JsonableObject
- Direct Known Subclasses:
AbstractRectangularShape2ifx
,Circle2ifx
,MultiShape2ifx
,Path2ifx
,Rectangle2ifx
,Segment2ifx
public abstract class AbstractShape2ifx<T extends AbstractShape2ifx<?>> extends Object implements Shape2ifx<T>
Abstract shape with 2 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
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.beans.property.ObjectProperty<Rectangle2ifx>
boundingBox
Bounding box property.
-
Constructor Summary
Constructors Constructor Description AbstractShape2ifx()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
clone()
Clone this shape.boolean
equals(Object obj)
GeomFactory2ifx
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.d2.ai.Shape2ai
contains, contains, contains, contains, createTransformedShape, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getPointIterator, intersects, intersects, intersects, intersects, intersects, intersects, intersects, toBoundingBox, translate, translate
-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.Shape2D
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.d2.ifx.Shape2ifx
boundingBoxProperty
-
-
-
-
Field Detail
-
boundingBox
protected javafx.beans.property.ObjectProperty<Rectangle2ifx> boundingBox
Bounding box property.
-
-
Method Detail
-
clone
public T clone()
Description copied from interface:Shape2D
Clone this shape.- Specified by:
clone
in interfaceShape2D<Shape2ifx<?>,T extends AbstractShape2ifx<?>,PathIterator2ai<PathElement2ifx>,Point2ifx,Vector2ifx,Rectangle2ifx>
- Overrides:
clone
in classObject
- Returns:
- the clone.
-
getGeomFactory
public final GeomFactory2ifx getGeomFactory()
Description copied from interface:Shape2D
Replies the geometry factory associated to this point.- Specified by:
getGeomFactory
in interfaceShape2ai<Shape2ifx<?>,T extends AbstractShape2ifx<?>,PathElement2ifx,Point2ifx,Vector2ifx,Rectangle2ifx>
- Specified by:
getGeomFactory
in interfaceShape2D<Shape2ifx<?>,T extends AbstractShape2ifx<?>,PathIterator2ai<PathElement2ifx>,Point2ifx,Vector2ifx,Rectangle2ifx>
- 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.
-
-