math.geom2d.domain
Interface Contour2D
-
- All Superinterfaces:
- Boundary2D, java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D
- All Known Subinterfaces:
- CircleLine2D, CirculinearContour2D, CirculinearRing2D, EllipseShape2D, SmoothContour2D
- All Known Implementing Classes:
- BoundaryPolyCirculinearCurve2D, BoundaryPolyCurve2D, Circle2D, Ellipse2D, GenericCirculinearRing2D, HyperbolaBranch2D, LinearRing2D, Parabola2D, StraightLine2D
public interface Contour2D extends Boundary2D, ContinuousOrientedCurve2D
A continuous oriented curve which delimits a connected planar domain. A contour can be closed (like ellipse, circle, closed polyline...) or open (parabola, straight line...).- Since:
- 0.9.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Contour2Dreverse()Computes the reversed contour.Contour2Dtransform(AffineTransform2D trans)Computes the transformed contour.-
Methods inherited from interface math.geom2d.domain.Boundary2D
continuousCurves, domain, fill, isInside
-
Methods inherited from interface math.geom2d.domain.ContinuousOrientedCurve2D
clip, subCurve
-
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
-
-
-
-
Method Detail
-
reverse
Contour2D reverse()
Computes the reversed contour.- Specified by:
reversein interfaceBoundary2D- Specified by:
reversein interfaceContinuousCurve2D- Specified by:
reversein interfaceContinuousOrientedCurve2D- Specified by:
reversein interfaceCurve2D- Specified by:
reversein interfaceOrientedCurve2D
-
transform
Contour2D transform(AffineTransform2D trans)
Computes the transformed contour.- Specified by:
transformin interfaceBoundary2D- Specified by:
transformin interfaceContinuousCurve2D- Specified by:
transformin interfaceContinuousOrientedCurve2D- Specified by:
transformin interfaceCurve2D- Specified by:
transformin interfaceOrientedCurve2D- Specified by:
transformin interfaceShape2D- Parameters:
trans- an affine transform- Returns:
- the transformed shape
-
-
DMelt 3.0 © DataMelt by jWork.ORG