Package com.luciad.geometries
Class Ellipse
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Curve
com.luciad.geometries.Ring
com.luciad.geometries.Ellipse
- All Implemented Interfaces:
AutoCloseable
Represents an ellipse.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()doublegetA()Returns the length of the semi-major axis of the elliptical arc.doublegetB()Returns the length of the semi-minor axis of the elliptical arc.Returns the center of the ellipse.Returns the rotation angle of the elliptical arc.Methods inherited from class com.luciad.geometries.Curve
computePoint, getLength2DMethods inherited from class com.luciad.geometries.Geometry
getBounds, getReference
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classRing
-
getCenter
Returns the center of the ellipse.- Returns:
- the center of the ellipse.
-
getA
public double getA()Returns the length of the semi-major axis of the elliptical arc.If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.
- Returns:
- the length of the semi-major axis of the elliptical arc.
-
getB
public double getB()Returns the length of the semi-minor axis of the elliptical arc.If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.
- Returns:
- the length of the semi-minor axis of the elliptical arc.
-
getRotationAngle
Returns the rotation angle of the elliptical arc.- Returns:
- the rotation angle of the elliptical arc.
-