math.geom2d.circulinear
Interface CirculinearRing2D

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

public interface CirculinearRing2D
extends CirculinearContour2D

Interface for circulinear contours which are both bounded and closed.

Author:
dlegland
See Also:
GenericCirculinearRing2D

Method Summary
 CirculinearDomain2D domain()
          Returns the domain delimited by this boundary.
 CirculinearRing2D 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.
 CirculinearRing2D reverse()
          Computes the reversed contour.
 
Methods inherited from interface math.geom2d.circulinear.CirculinearContour2D
transform
 
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
 
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

domain

CirculinearDomain2D domain()
Description copied from interface: Boundary2D
Returns the domain delimited by this boundary.

Specified by:
domain in interface Boundary2D
Specified by:
domain in interface CirculinearBoundary2D
Returns:
the domain delimited by this boundary

parallel

CirculinearRing2D 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 CirculinearContour2D
Specified by:
parallel in interface CirculinearCurve2D
Parameters:
d - the distance between the original curve and he parallel curve.
Returns:
the parallel curve

reverse

CirculinearRing2D 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 CirculinearContour2D
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