math.geom2d.circulinear
Interface CirculinearContour2D

All Superinterfaces:
Boundary2D, CirculinearBoundary2D, CirculinearContinuousCurve2D, CirculinearCurve2D, CirculinearShape2D, java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Contour2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D
All Known Subinterfaces:
CircleLine2D, CirculinearRing2D
All Known Implementing Classes:
BoundaryPolyCirculinearCurve2D, Circle2D, GenericCirculinearRing2D, LinearRing2D, StraightLine2D

public interface CirculinearContour2D
extends Contour2D, CirculinearContinuousCurve2D, CirculinearBoundary2D

Tagging interface to gather Continuous and boundary circulinear curves.

Author:
dlegland

Method Summary
 CirculinearContour2D parallel(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.
 CirculinearContour2D reverse()
          Computes the reversed contour.
 CirculinearContour2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from interface math.geom2d.domain.Contour2D
transform
 
Methods inherited from interface math.geom2d.circulinear.CirculinearContinuousCurve2D
clip, smoothPieces, subCurve
 
Methods inherited from interface math.geom2d.curve.ContinuousCurve2D
appendPath, asPolyline, curvature, isClosed, leftTangent, rightTangent
 
Methods inherited from interface math.geom2d.circulinear.CirculinearBoundary2D
clip, continuousCurves, domain
 
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
length, length, position
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
 
Methods inherited from interface math.geom2d.domain.Boundary2D
fill, isInside
 
Methods inherited from interface math.geom2d.domain.OrientedCurve2D
signedDistance, signedDistance, windingAngle
 

Method Detail

parallel

CirculinearContour2D parallel(double d)
Description copied from interface: CirculinearCurve2D
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.

Specified by:
parallel in interface CirculinearBoundary2D
Specified by:
parallel in interface CirculinearContinuousCurve2D
Specified by:
parallel in interface CirculinearCurve2D
Parameters:
d - the distance between the original curve and he parallel curve.
Returns:
the parallel curve

transform

CirculinearContour2D transform(CircleInversion2D inv)
Description copied from interface: CirculinearShape2D
Transforms the shape by a circle inversion. The result is still an instance a CirculinearShape2D.

Specified by:
transform in interface CirculinearBoundary2D
Specified by:
transform in interface CirculinearContinuousCurve2D
Specified by:
transform in interface CirculinearCurve2D
Specified by:
transform in interface CirculinearShape2D
Parameters:
inv - the circle inversion
Returns:
the transformed shape

reverse

CirculinearContour2D reverse()
Description copied from interface: Contour2D
Computes the reversed contour.

Specified by:
reverse in interface Boundary2D
Specified by:
reverse in interface CirculinearBoundary2D
Specified by:
reverse in interface CirculinearContinuousCurve2D
Specified by:
reverse in interface CirculinearCurve2D
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