math.geom2d.circulinear
Interface CirculinearBoundary2D

All Superinterfaces:
Boundary2D, CirculinearCurve2D, CirculinearShape2D, java.lang.Cloneable, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D
All Known Subinterfaces:
CircleLine2D, CirculinearContour2D, CirculinearRing2D
All Known Implementing Classes:
BoundaryPolyCirculinearCurve2D, Circle2D, CirculinearContourArray2D, GenericCirculinearRing2D, LinearRing2D, StraightLine2D

public interface CirculinearBoundary2D
extends CirculinearCurve2D, Boundary2D

A Boundary which is composed of Circulinear elements.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 CurveSet2D<? extends CirculinearContinuousCurve2D> clip(Box2D box)
          Clip the shape with the given box, and returns a new shape.
 java.util.Collection<? extends CirculinearContour2D> continuousCurves()
          Returns the collection of continuous circulinear curves which constitute this curve.
 CirculinearDomain2D domain()
          Returns the domain delimited by this boundary.
 CirculinearBoundary2D 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.
 CirculinearBoundary2D reverse()
          Returns the curve with same trace on the plane with parameterization in reverse order.
 CirculinearBoundary2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
length, length, position, subCurve
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
 
Methods inherited from interface math.geom2d.domain.Boundary2D
fill, isInside, transform
 
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

domain

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

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

parallel

CirculinearBoundary2D 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 CirculinearCurve2D
Parameters:
d - the distance between the original curve and he parallel curve.
Returns:
the parallel curve

continuousCurves

java.util.Collection<? extends CirculinearContour2D> continuousCurves()
Description copied from interface: CirculinearCurve2D
Returns the collection of continuous circulinear curves which constitute this curve.

Specified by:
continuousCurves in interface Boundary2D
Specified by:
continuousCurves in interface CirculinearCurve2D
Specified by:
continuousCurves in interface Curve2D
Returns:
a collection of continuous circulinear curves.

clip

CurveSet2D<? extends CirculinearContinuousCurve2D> clip(Box2D box)
Description copied from interface: Shape2D
Clip the shape with the given box, and returns a new shape. The box must be bounded.

Specified by:
clip in interface CirculinearCurve2D
Specified by:
clip in interface Curve2D
Specified by:
clip in interface OrientedCurve2D
Specified by:
clip in interface Shape2D
Parameters:
box - the clipping box
Returns:
the clipped shape

transform

CirculinearBoundary2D 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 CirculinearCurve2D
Specified by:
transform in interface CirculinearShape2D
Parameters:
inv - the circle inversion
Returns:
the transformed shape

reverse

CirculinearBoundary2D reverse()
Description copied from interface: Curve2D
Returns the curve with same trace on the plane with parameterization in reverse order.

Specified by:
reverse in interface Boundary2D
Specified by:
reverse in interface CirculinearCurve2D
Specified by:
reverse in interface Curve2D
Specified by:
reverse in interface OrientedCurve2D