math.geom2d.conic
Interface CircularShape2D
- All Superinterfaces:
- CirculinearContinuousCurve2D, CirculinearCurve2D, CirculinearElement2D, CirculinearShape2D, java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D, SmoothCurve2D, SmoothOrientedCurve2D
- All Known Implementing Classes:
- Circle2D, CircleArc2D
public interface CircularShape2D
- extends CirculinearElement2D, SmoothOrientedCurve2D
Tagging interface for grouping Circle2D and CircleArc2D.
- Author:
- dlegland
Methods inherited from interface math.geom2d.curve.Curve2D |
asAwtShape, clone, draw, firstPoint, getT0, getT1, intersections, isSingular, lastPoint, point, position, project, singularPoints, t0, t1, vertices |
supportingCircle
Circle2D supportingCircle()
- Returns the circle that contains this shape.
clip
CurveSet2D<? extends CircularShape2D> clip(Box2D box)
- Description copied from interface:
Shape2D
- Clip the shape with the given box, and returns a new shape. The box must
be bounded.
- Specified by:
clip
in interface CirculinearContinuousCurve2D
- Specified by:
clip
in interface CirculinearCurve2D
- Specified by:
clip
in interface CirculinearElement2D
- Specified by:
clip
in interface ContinuousCurve2D
- Specified by:
clip
in interface ContinuousOrientedCurve2D
- Specified by:
clip
in interface Curve2D
- Specified by:
clip
in interface OrientedCurve2D
- Specified by:
clip
in interface Shape2D
- Specified by:
clip
in interface SmoothCurve2D
- Specified by:
clip
in interface SmoothOrientedCurve2D
- Parameters:
box
- the clipping box
- Returns:
- the clipped shape
subCurve
CircularShape2D 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 CirculinearContinuousCurve2D
- Specified by:
subCurve
in interface CirculinearCurve2D
- Specified by:
subCurve
in interface CirculinearElement2D
- 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-curvet1
- position of the end of the sub-curve
- Returns:
- the portion of original curve comprised between t0 and t1.
reverse
CircularShape2D 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 CirculinearContinuousCurve2D
- Specified by:
reverse
in interface CirculinearCurve2D
- Specified by:
reverse
in interface CirculinearElement2D
- 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