math.geom2d.conic
Interface EllipseArcShape2D

All Superinterfaces:
java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D, SmoothCurve2D, SmoothOrientedCurve2D
All Known Implementing Classes:
CircleArc2D, EllipseArc2D

public interface EllipseArcShape2D
extends SmoothOrientedCurve2D

An interface to gather CircleArc2D and EllipseArc2D.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 EllipseArcShape2D reverse()
          Returns the curve with same trace on the plane with parameterization in reverse order.
 EllipseArcShape2D subCurve(double t0, double t1)
          Returns a portion of the original curve, delimited by two positions on the curve.
 EllipseArcShape2D transform(AffineTransform2D trans)
          Transforms the curve by an affine transform.
 
Methods inherited from interface math.geom2d.domain.SmoothOrientedCurve2D
clip
 
Methods inherited from interface math.geom2d.curve.SmoothCurve2D
normal, tangent
 
Methods inherited from interface math.geom2d.curve.ContinuousCurve2D
appendPath, asPolyline, curvature, isClosed, leftTangent, rightTangent, smoothPieces
 
Methods inherited from interface math.geom2d.domain.OrientedCurve2D
isInside, signedDistance, signedDistance, windingAngle
 
Methods inherited from interface math.geom2d.curve.Curve2D
asAwtShape, clone, continuousCurves, 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
 

Method Detail

reverse

EllipseArcShape2D reverse()
Description copied from interface: Curve2D
Returns the curve with same trace on the plane with parameterization in reverse order.

Specified by:
reverse in interface ContinuousCurve2D
Specified by:
reverse in interface ContinuousOrientedCurve2D
Specified by:
reverse in interface Curve2D
Specified by:
reverse in interface OrientedCurve2D
Specified by:
reverse in interface SmoothCurve2D
Specified by:
reverse in interface SmoothOrientedCurve2D

subCurve

EllipseArcShape2D subCurve(double t0,
                           double t1)
Description copied from interface: Curve2D
Returns a portion of the original curve, delimited by two positions on the curve.

Specified by:
subCurve in interface ContinuousCurve2D
Specified by:
subCurve in interface ContinuousOrientedCurve2D
Specified by:
subCurve in interface Curve2D
Specified by:
subCurve in interface SmoothCurve2D
Specified by:
subCurve in interface SmoothOrientedCurve2D
Parameters:
t0 - position of the start of the sub-curve
t1 - position of the end of the sub-curve
Returns:
the portion of original curve comprised between t0 and t1.

transform

EllipseArcShape2D transform(AffineTransform2D trans)
Description copied from interface: Curve2D
Transforms the curve by an affine transform. The result is an instance of Curve2D.

Specified by:
transform in interface ContinuousCurve2D
Specified by:
transform in interface ContinuousOrientedCurve2D
Specified by:
transform in interface Curve2D
Specified by:
transform in interface OrientedCurve2D
Specified by:
transform in interface Shape2D
Specified by:
transform in interface SmoothCurve2D
Specified by:
transform in interface SmoothOrientedCurve2D
Parameters:
trans - an affine transform
Returns:
the transformed shape