math.geom2d.curve
Interface Boundary2D

All Superinterfaces:
Curve2D, OrientedCurve2D, java.awt.Shape, Shape2D
All Known Subinterfaces:
ContinuousBoundary2D
All Known Implementing Classes:
BoundaryPolyCurve2D, BoundarySet2D, Circle2D, ClosedPolyline2D, Ellipse2D, Hyperbola2D, HyperbolaBranch2D, Parabola2D, StraightLine2D

public interface Boundary2D
extends OrientedCurve2D

A Boundary2D is the curve which defines the contour of a domain in the plane. It is compound of one or several non-intersecting and oriented curves.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY, defaultClipWindow, EMPTY_SET
 
Method Summary
 java.util.Collection<ContinuousBoundary2D> getBoundaryCurves()
          Return the different continuous curves composing the boundary
 Boundary2D getReverseCurve()
          Returns the curve with same trace on the plane with parametrization in reverse order.
 Boundary2D transform(AffineTransform2D trans)
          Transforms the curve by an affine transform.
 
Methods inherited from interface math.geom2d.curve.OrientedCurve2D
clip, getSignedDistance, getSignedDistance, getWindingAngle, isInside
 
Methods inherited from interface math.geom2d.curve.Curve2D
getContinuousCurves, getFirstPoint, getIntersections, getLastPoint, getPoint, getPoint, getPosition, getSubCurve, getT0, getT1, project
 
Methods inherited from interface math.geom2d.Shape2D
getBoundingBox, getDistance, getDistance, isBounded
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects
 

Method Detail

getBoundaryCurves

java.util.Collection<ContinuousBoundary2D> getBoundaryCurves()
Return the different continuous curves composing the boundary


getReverseCurve

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

Specified by:
getReverseCurve in interface Curve2D
Specified by:
getReverseCurve in interface OrientedCurve2D

transform

Boundary2D transform(AffineTransform2D trans)
Description copied from interface: Curve2D
Transforms the curve by an affine transform. The result is an instance of Curve2D.

Specified by:
transform in interface Curve2D
Specified by:
transform in interface OrientedCurve2D
Specified by:
transform in interface Shape2D
Parameters:
trans - an affine transform
Returns:
the transformed shape