math.geom2d.circulinear
Interface CirculinearCurveSet2D<T extends CirculinearCurve2D>

All Superinterfaces:
CirculinearCurve2D, CirculinearShape2D, java.lang.Cloneable, Curve2D, CurveSet2D<T>, GeometricObject2D, java.lang.Iterable<T>, Shape2D, ShapeSet2D<T>
All Known Implementing Classes:
CirculinearCurveArray2D

public interface CirculinearCurveSet2D<T extends CirculinearCurve2D>
extends CurveSet2D<T>, CirculinearCurve2D

A specialization of CurveSet2D that accepts only instances of CirculinearCurve2D.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 CirculinearCurveSet2D<? extends CirculinearCurve2D> clip(Box2D box)
          When a curve is clipped, the result is a set of curves.
 CirculinearCurveSet2D<? extends CirculinearCurve2D> reverse()
          Returns the curve with same trace on the plane with parameterization in reverse order.
 CirculinearCurveSet2D<? extends CirculinearCurve2D> subCurve(double t0, double t1)
          Returns a portion of the original curve, delimited by two positions on the curve.
 
Methods inherited from interface math.geom2d.curve.CurveSet2D
childCurve, contains, curveIndex, curves, firstCurve, get, globalPosition, lastCurve, localPosition, transform
 
Methods inherited from interface math.geom2d.ShapeSet2D
add, add, clear, indexOf, remove, remove, size
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
continuousCurves, length, length, parallel, position, transform
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
 
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

clip

CirculinearCurveSet2D<? extends CirculinearCurve2D> clip(Box2D box)
Description copied from interface: Curve2D
When a curve is clipped, the result is a set of curves.

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

subCurve

CirculinearCurveSet2D<? extends CirculinearCurve2D> subCurve(double t0,
                                                             double t1)
Description copied from interface: Curve2D
Returns a portion of the original curve, delimited by two positions on the curve.

Specified by:
subCurve in interface CirculinearCurve2D
Specified by:
subCurve in interface Curve2D
Parameters:
t0 - position of the start of the sub-curve
t1 - position of the end of the sub-curve
Returns:
the portion of original curve comprised between t0 and t1.

reverse

CirculinearCurveSet2D<? extends CirculinearCurve2D> 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 CirculinearCurve2D
Specified by:
reverse in interface Curve2D