|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EllipseShape2D
A common interface for Circle2D and Ellipse2D.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface math.geom2d.conic.Conic2D |
---|
Conic2D.Type |
Field Summary |
---|
Fields inherited from interface math.geom2d.Shape2D |
---|
ACCURACY |
Method Summary | |
---|---|
Point2D |
center()
Returns center of the ellipse shape. |
java.util.Collection<? extends EllipseShape2D> |
continuousCurves()
Returns the collection of continuous curves which constitute this curve. |
boolean |
isCircle()
Returns true if this ellipse shape is similar to a circle, i.e. has same length for both semi-axes. |
boolean |
isDirect()
If an ellipse shape is direct, it is the boundary of a convex domain. |
EllipseShape2D |
reverse()
Reverses the contour, and returns an instance of SmoothContour2D. |
EllipseShape2D |
transform(AffineTransform2D trans)
Transforms the contour, and returns an instance of SmoothContour2D. |
Methods inherited from interface math.geom2d.domain.SmoothOrientedCurve2D |
---|
clip, subCurve |
Methods inherited from interface math.geom2d.curve.SmoothCurve2D |
---|
normal, tangent |
Methods inherited from interface math.geom2d.domain.Boundary2D |
---|
domain, fill, isInside |
Methods inherited from interface math.geom2d.curve.ContinuousCurve2D |
---|
appendPath, asPolyline, curvature, isClosed, leftTangent, rightTangent, smoothPieces |
Methods inherited from interface math.geom2d.domain.OrientedCurve2D |
---|
signedDistance, signedDistance, windingAngle |
Methods inherited from interface math.geom2d.curve.Curve2D |
---|
asAwtShape, clone, draw, firstPoint, getT0, getT1, intersections, isSingular, lastPoint, point, position, project, singularPoints, t0, t1, vertices |
Methods inherited from interface math.geom2d.Shape2D |
---|
boundingBox, contains, contains, distance, distance, isBounded, isEmpty |
Methods inherited from interface math.geom2d.GeometricObject2D |
---|
almostEquals |
Methods inherited from interface math.geom2d.conic.Conic2D |
---|
clip, conicCoefficients, conicType, eccentricity |
Method Detail |
---|
Point2D center()
boolean isCircle()
boolean isDirect()
EllipseShape2D reverse()
SmoothContour2D
reverse
in interface Boundary2D
reverse
in interface Conic2D
reverse
in interface ContinuousCurve2D
reverse
in interface ContinuousOrientedCurve2D
reverse
in interface Contour2D
reverse
in interface Curve2D
reverse
in interface OrientedCurve2D
reverse
in interface SmoothContour2D
reverse
in interface SmoothCurve2D
reverse
in interface SmoothOrientedCurve2D
java.util.Collection<? extends EllipseShape2D> continuousCurves()
Curve2D
continuousCurves
in interface Boundary2D
continuousCurves
in interface Curve2D
EllipseShape2D transform(AffineTransform2D trans)
SmoothContour2D
transform
in interface Boundary2D
transform
in interface Conic2D
transform
in interface ContinuousCurve2D
transform
in interface ContinuousOrientedCurve2D
transform
in interface Contour2D
transform
in interface Curve2D
transform
in interface OrientedCurve2D
transform
in interface Shape2D
transform
in interface SmoothContour2D
transform
in interface SmoothCurve2D
transform
in interface SmoothOrientedCurve2D
trans
- an affine transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |