public interface CirculinearElement2D extends CirculinearContinuousCurve2D, SmoothOrientedCurve2D
Circulinear elements are lowest level of circulinear curve: each circulinear curve can be divided into a set of circulinear elements.
Circulinear elements can be either linear elements (implementations of LinearShape2D), or circular elements (circle or circle arcs).
| Modifier and Type | Method and Description |
|---|---|
CurveSet2D |
clip(Box2D box)
Clip the shape with the given box, and returns a new shape.
|
Curve2D |
getParallel(double d)
Creates a new curve, formed by the points with parameterization:
p(t) = c(t) + d*n(t)/|n(t)|, with p(t) being a point of
the original curve, n(t) the normal of the curve, and |n| being the
norm of n.In the case of a continuous curve formed by several smooth circulinear elements, the parallels of contiguous elements are joined by a circle arc. |
Curve2D |
getReverseCurve()
Returns the curve with same trace on the plane with parametrization in
reverse order.
|
Curve2D |
getSubCurve(double t0,
double t1)
Returns a portion of the original curve, delimited by two positions on
the curve.
|
Curve2D |
transform(CircleInversion2D inv)
Transforms the shape by a circle inversion.
|
getSmoothPiecesgetContinuousCurves, getLength, getLength, getPositiongetBuffertransformappendPath, getAsPolyline, getLeftTangent, getRightTangent, isClosedgetSignedDistance, getSignedDistance, getWindingAngle, isInsideclone, draw, getAsAWTShape, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, projectcontains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmptytransformgetCurvature, getTangentCurve2D getParallel(double d)
CirculinearCurve2D p(t) = c(t) + d*n(t)/|n(t)|, with p(t) being a point of
the original curve, n(t) the normal of the curve, and |n| being the
norm of n.getParallel in interface CirculinearContinuousCurve2DgetParallel in interface CirculinearCurve2DgetParallel in interface ContinuousCirculinearCurve2Dd - the distance between the original curve and he parallel curve.Curve2D transform(CircleInversion2D inv)
CirculinearShape2Dtransform in interface CirculinearContinuousCurve2Dtransform in interface CirculinearCurve2Dtransform in interface CirculinearShape2Dtransform in interface ContinuousCirculinearCurve2Dinv - the circle inversionCurveSet2D clip(Box2D box)
Shape2Dclip in interface CirculinearContinuousCurve2Dclip in interface CirculinearCurve2Dclip in interface ContinuousCirculinearCurve2Dclip in interface ContinuousCurve2Dclip in interface ContinuousOrientedCurve2Dclip in interface Curve2Dclip in interface OrientedCurve2Dclip in interface Shape2Dclip in interface SmoothCurve2Dclip in interface SmoothOrientedCurve2Dbox - the clipping boxCurve2D getSubCurve(double t0, double t1)
Curve2DgetSubCurve in interface CirculinearContinuousCurve2DgetSubCurve in interface CirculinearCurve2DgetSubCurve in interface ContinuousCirculinearCurve2DgetSubCurve in interface ContinuousCurve2DgetSubCurve in interface ContinuousOrientedCurve2DgetSubCurve in interface Curve2DgetSubCurve in interface SmoothCurve2DgetSubCurve in interface SmoothOrientedCurve2Dt0 - position of the start of the sub-curvet1 - position of the end of the sub-curveCurve2D getReverseCurve()
Curve2DgetReverseCurve in interface CirculinearContinuousCurve2DgetReverseCurve in interface CirculinearCurve2DgetReverseCurve in interface ContinuousCirculinearCurve2DgetReverseCurve in interface ContinuousCurve2DgetReverseCurve in interface ContinuousOrientedCurve2DgetReverseCurve in interface Curve2DgetReverseCurve in interface OrientedCurve2DgetReverseCurve in interface SmoothCurve2DgetReverseCurve in interface SmoothOrientedCurve2DCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.