public interface Ellipse extends Surface
An ellipse is the finite or bounded case of a conic section, the geometric shape that results from cutting a circular conical or cylindrical surface with an oblique plane (the other two cases being the parabola and the hyperbola). It is also the locus of all points of the plane whose distances to two fixed points add to the same constant.
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Modifier and Type | Method and Description |
---|---|
Point |
getAxis1End()
Returns the point where the first axis ends.
|
Point |
getAxis1Start()
Returns the point where the first axis starts.
|
double |
getAxis2Dist()
Returns the length of the second axis.
|
Point |
getRectangleCorner()
Returns minimum corner of the ellipse framing rectangle.
|
double |
getRectangleHeight()
Return the height of the ellipse framing rectangle.
|
AffineTransform |
getRectangleRotation()
Return the rotate transform of the ellipse framing rectangle.
|
double |
getRectangleWidth()
Return the width of the ellipse framing rectangle.
|
void |
setPoints(Point axis1Start,
Point axis1End,
double axis2Length)
Sets the values to define a ellipse.
|
addInteriorRing, addInteriorRing, addInteriorRing, getInteriorRing, getNumInteriorRings, getSurfaceAppearance, removeInteriorRing, setSurfaceAppearance
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
void setPoints(Point axis1Start, Point axis1End, double axis2Length)
axis1Start
- The point where the first axis starts.axis1End
- The point where the first axis ends.axis2Length
- The length of the second axis.Point getAxis1Start()
Point getAxis1End()
double getAxis2Dist()
Point getRectangleCorner()
double getRectangleHeight()
double getRectangleWidth() throws GeometryOperationNotSupportedException, GeometryOperationException
GeometryOperationException
GeometryOperationNotSupportedException
AffineTransform getRectangleRotation() throws GeometryOperationNotSupportedException, GeometryOperationException
GeometryOperationException
GeometryOperationNotSupportedException