|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object math.geom2d.domain.Boundaries2D
public abstract class Boundaries2D
Collects some useful methods for operating on boundary curves.
Constructor Summary | |
---|---|
Boundaries2D()
|
Method Summary | |
---|---|
static ContourArray2D<Contour2D> |
clipBoundary(Boundary2D boundary,
Box2D box)
Clips a boundary and closes the result curve. |
static CurveSet2D<ContinuousOrientedCurve2D> |
clipContinuousOrientedCurve(ContinuousOrientedCurve2D curve,
Box2D box)
Clip a curve, and return a CurveSet2D. |
static int |
findNextCurveIndex(double[] positions,
double pos)
|
static Polyline2D |
getBoundaryPortion(Box2D box,
Point2D p0,
Point2D p1)
Extracts a portion of the boundary of a bounded box. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Boundaries2D()
Method Detail |
---|
public static final CurveSet2D<ContinuousOrientedCurve2D> clipContinuousOrientedCurve(ContinuousOrientedCurve2D curve, Box2D box)
public static final ContourArray2D<Contour2D> clipBoundary(Boundary2D boundary, Box2D box)
public static final int findNextCurveIndex(double[] positions, double pos)
public static final Polyline2D getBoundaryPortion(Box2D box, Point2D p0, Point2D p1)
box
- the box from which one extract a portion of boundaryp0
- the first point of the portionp1
- the last point of the portion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |