math.geom2d.domain
Interface SmoothOrientedCurve2D
-
- All Superinterfaces:
- java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D, SmoothCurve2D
- All Known Subinterfaces:
- CircleLine2D, CircularShape2D, CirculinearElement2D, EllipseArcShape2D, EllipseShape2D, LinearElement2D, SmoothContour2D
- All Known Implementing Classes:
- AbstractLine2D, Circle2D, CircleArc2D, Ellipse2D, EllipseArc2D, HyperbolaBranch2D, HyperbolaBranchArc2D, InvertedRay2D, Line2D, LineArc2D, LineSegment2D, ParabolaArc2D, Ray2D, StraightLine2D
public interface SmoothOrientedCurve2D extends SmoothCurve2D, ContinuousOrientedCurve2D
Interface for smooth and oriented curves. The aim of this interface is mainly to specify refinement of method declarations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description CurveSet2D<? extends SmoothOrientedCurve2D>clip(Box2D box)When a curve is clipped, the result is a set of curves.SmoothOrientedCurve2Dreverse()Returns the curve with same trace on the plane with parameterization in reverse order.SmoothOrientedCurve2DsubCurve(double t0, double t1)Returns a portion of the original curve, delimited by two positions on the curve.SmoothOrientedCurve2Dtransform(AffineTransform2D trans)Transforms the curve by an affine transform.-
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
SmoothOrientedCurve2D reverse()
Description copied from interface:Curve2DReturns the curve with same trace on the plane with parameterization in reverse order.- Specified by:
reversein interfaceContinuousCurve2D- Specified by:
reversein interfaceContinuousOrientedCurve2D- Specified by:
reversein interfaceCurve2D- Specified by:
reversein interfaceOrientedCurve2D- Specified by:
reversein interfaceSmoothCurve2D
-
subCurve
SmoothOrientedCurve2D subCurve(double t0, double t1)
Description copied from interface:Curve2DReturns a portion of the original curve, delimited by two positions on the curve.- Specified by:
subCurvein interfaceContinuousCurve2D- Specified by:
subCurvein interfaceContinuousOrientedCurve2D- Specified by:
subCurvein interfaceCurve2D- Specified by:
subCurvein interfaceSmoothCurve2D- 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.
-
clip
CurveSet2D<? extends SmoothOrientedCurve2D> clip(Box2D box)
Description copied from interface:Curve2DWhen a curve is clipped, the result is a set of curves.- Specified by:
clipin interfaceContinuousCurve2D- Specified by:
clipin interfaceContinuousOrientedCurve2D- Specified by:
clipin interfaceCurve2D- Specified by:
clipin interfaceOrientedCurve2D- Specified by:
clipin interfaceShape2D- Specified by:
clipin interfaceSmoothCurve2D- Parameters:
box- the clipping box- Returns:
- the clipped shape
-
transform
SmoothOrientedCurve2D transform(AffineTransform2D trans)
Description copied from interface:Curve2DTransforms the curve by an affine transform. The result is an instance of Curve2D.- Specified by:
transformin interfaceContinuousCurve2D- Specified by:
transformin interfaceContinuousOrientedCurve2D- Specified by:
transformin interfaceCurve2D- Specified by:
transformin interfaceOrientedCurve2D- Specified by:
transformin interfaceShape2D- Specified by:
transformin interfaceSmoothCurve2D- Parameters:
trans- an affine transform- Returns:
- the transformed shape
-
-
DMelt 3.0 © DataMelt by jWork.ORG