math.geom2d.domain
Interface SmoothContour2D
- All Superinterfaces:
- Boundary2D, java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Contour2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D, SmoothCurve2D, SmoothOrientedCurve2D
- All Known Subinterfaces:
- CircleLine2D, EllipseShape2D
- All Known Implementing Classes:
- Circle2D, Ellipse2D, HyperbolaBranch2D, StraightLine2D
public interface SmoothContour2D
- extends SmoothOrientedCurve2D, Contour2D
Tagging interface to represent in unified way smooth curves that are
also contours.
- 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 |
transform
SmoothContour2D transform(AffineTransform2D trans)
- Transforms the contour, and returns an instance of SmoothContour2D.
- Specified by:
transform in interface Boundary2D- Specified by:
transform in interface ContinuousCurve2D- Specified by:
transform in interface ContinuousOrientedCurve2D- Specified by:
transform in interface Contour2D- 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
reverse
SmoothContour2D reverse()
- Reverses the contour, and returns an instance of SmoothContour2D.
- Specified by:
reverse in interface Boundary2D- Specified by:
reverse in interface ContinuousCurve2D- Specified by:
reverse in interface ContinuousOrientedCurve2D- Specified by:
reverse in interface Contour2D- Specified by:
reverse in interface Curve2D- Specified by:
reverse in interface OrientedCurve2D- Specified by:
reverse in interface SmoothCurve2D- Specified by:
reverse in interface SmoothOrientedCurve2D