Class Ellipse2dfx
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.dfx.AbstractShape2dfx<IT>
-
- org.arakhne.afc.math.geometry.d2.dfx.AbstractRectangularShape2dfx<Ellipse2dfx>
-
- org.arakhne.afc.math.geometry.d2.dfx.Ellipse2dfx
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Ellipse2afp<Shape2dfx<?>,Ellipse2dfx,PathElement2dfx,Point2dfx,Vector2dfx,Rectangle2dfx>
,RectangularShape2afp<Shape2dfx<?>,Ellipse2dfx,PathElement2dfx,Point2dfx,Vector2dfx,Rectangle2dfx>
,Shape2afp<Shape2dfx<?>,Ellipse2dfx,PathElement2dfx,Point2dfx,Vector2dfx,Rectangle2dfx>
,Shape2dfx<Ellipse2dfx>
,Shape2D<Shape2dfx<?>,Ellipse2dfx,PathIterator2afp<PathElement2dfx>,Point2dfx,Vector2dfx,Rectangle2dfx>
,JsonableObject
public class Ellipse2dfx extends AbstractRectangularShape2dfx<Ellipse2dfx> implements Ellipse2afp<Shape2dfx<?>,Ellipse2dfx,PathElement2dfx,Point2dfx,Vector2dfx,Rectangle2dfx>
Ellipse with 2 double precision floating-point FX properties.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND, Hamza JAFFALI
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- mathfx
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.arakhne.afc.math.geometry.d2.afp.Ellipse2afp
Ellipse2afp.AbstractEllipsePathIterator<T extends PathElement2afp>, Ellipse2afp.EllipsePathIterator<T extends PathElement2afp>, Ellipse2afp.PrivateAPI, Ellipse2afp.TransformedEllipsePathIterator<T extends PathElement2afp>
-
-
Field Summary
-
Fields inherited from class org.arakhne.afc.math.geometry.d2.dfx.AbstractRectangularShape2dfx
height, maxX, maxY, minX, minY, width
-
Fields inherited from class org.arakhne.afc.math.geometry.d2.dfx.AbstractShape2dfx
boundingBox
-
-
Constructor Summary
Constructors Constructor Description Ellipse2dfx()
Construct an empty ellipse.Ellipse2dfx(double x, double y, double width, double height)
Construct an ellipse with the given minimum corner and sizes for its bounding box.Ellipse2dfx(Ellipse2afp<?,?,?,?,?,?> ellipse)
Constructor by copy.Ellipse2dfx(Point2D<?,?> min, Point2D<?,?> max)
Construct an ellipse with the given minimum and maximum corners for its bounding box.
-
Method Summary
-
Methods inherited from class org.arakhne.afc.math.geometry.d2.dfx.AbstractRectangularShape2dfx
boundingBoxProperty, clone, getHeight, getMaxX, getMaxY, getMinX, getMinY, getWidth, hashCode, heightProperty, maxXProperty, maxYProperty, minXProperty, minYProperty, setFromCorners, setMaxX, setMaxY, setMinX, setMinY, widthProperty
-
Methods inherited from class org.arakhne.afc.math.geometry.d2.dfx.AbstractShape2dfx
equals, getGeomFactory, toJson, 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.afp.Ellipse2afp
contains, contains, equalsToShape, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getClosestPointTo, getDistanceL1, getDistanceLinf, getDistanceSquared, getFarthestPointTo, getFlatteningPathIterator, getHorizontalRadius, getMaxFocusPoint, getMinFocusPoint, getPathIterator, getVerticalRadius, intersects, intersects, intersects, intersects, intersects, intersects, intersects, intersects, intersects, intersects
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.afp.RectangularShape2afp
clear, getCenter, getCenterX, getCenterY, getHeight, getMaxX, getMaxY, getMinX, getMinY, getWidth, inflate, isEmpty, set, set, set, setFromCenter, setFromCenter, setFromCorners, setFromCorners, setHeight, setMaxX, setMaxY, setMinX, setMinY, setWidth, toBoundingBox, translate
-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.afp.Shape2afp
contains, contains, createTransformedShape, getClosestPointTo, getClosestPointTo, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getDistanceSquared, getGeomFactory, intersects, intersects, toBoundingBox, translate
-
Methods inherited from interface org.arakhne.afc.math.geometry.d2.Shape2D
clone, equalsToPathIterator, getDistance, getDistance, getPathIterator, operator_add, operator_and, operator_and, operator_minus, operator_multiply, operator_plus, operator_remove, operator_upTo
-
-
-
-
Constructor Detail
-
Ellipse2dfx
public Ellipse2dfx()
Construct an empty ellipse.
-
Ellipse2dfx
public Ellipse2dfx(Point2D<?,?> min, Point2D<?,?> max)
Construct an ellipse with the given minimum and maximum corners for its bounding box.- Parameters:
min
- is the min corner of the ellipse.max
- is the max corner of the ellipse.
-
Ellipse2dfx
public Ellipse2dfx(double x, double y, double width, double height)
Construct an ellipse with the given minimum corner and sizes for its bounding box.- Parameters:
x
- x coordinate of the minimum corner of the ellipse's bounding box.y
- y coordinate of the minimum corner of the ellipse's bounding box.width
- width of the ellipse's bounding box.height
- height of the ellipse's bounding box.
-
Ellipse2dfx
public Ellipse2dfx(Ellipse2afp<?,?,?,?,?,?> ellipse)
Constructor by copy.- Parameters:
ellipse
- the ellipse to copy.
-
-