Maven module :un.api : api-geometry :
Class : un.impl.geometry.s2d.Ellipse
Extends/Implements : un.impl.geometry.s2d.AbstractGeometry2D
Subclasses : -

A Ellipse.
Specification :
current user coordinate system based on a center point and two radii.
author  Johann Sorel
author  Bertrand COTE


Variables : -
Functions : Ellipse, Ellipse, getCenter, getCenterX, getCenterY, setCenter, setCenter, setCenterX, setCenterY, getRadiusX, setRadiusX, getRadiusY, setRadiusY, getArea, getLength, getBoundingBox, getBoundingCircle, getCentroid, createPathIterator



public void Ellipse ()

public void Ellipse (double cx, double cy, double rx, double ry)


The ellipse center.
public Tuple getCenter ()

public double getCenterX ()

public double getCenterY ()

public void setCenter (Tuple center)

public void setCenter (double cx, double cy)

public void setCenterX (double cx)

public void setCenterY (double cy)


The x-axis radius of the ellipse.
public double getRadiusX ()

public void setRadiusX (double rx)


The y-axis radius of the ellipse.
public double getRadiusY ()

public void setRadiusY (double ry)


Calculate the ellipse surface area.
return  ellipse area.
public double getArea ()


Calculate circle circumference.
return  circle circumference
public double getLength ()


Ellipse bounding box is a box centered on ellipse center with a width of
twice the radiusX on x axis, and twice the radiusY on y axis.
return  BoundingBox
public BBox getBoundingBox ()


Bounding circle is a copy of this circle.
return  Circle
public Circle getBoundingCircle ()


Centroid is ellipse center.
return  Point
public Point getCentroid ()



public PathIterator createPathIterator ()