|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object math.geom2d.polygon.Polyline2DUtils
public abstract class Polyline2DUtils
Some utility functions for manipulating Polyline2D.
Constructor Summary | |
---|---|
Polyline2DUtils()
|
Method Summary | |
---|---|
static BoundaryPolyCurve2D<SmoothOrientedCurve2D> |
createClosedParallel(LinearRing2D polyline,
double d)
Creates a curve parallel to the given polyline, at a distance d. |
static PolyOrientedCurve2D<SmoothOrientedCurve2D> |
createParallel(Polyline2D polyline,
double d)
Creates a curve parallel to the given polyline, at a distance d. |
static Collection<Point2D> |
intersect(Polyline2D poly1,
Polyline2D poly2)
Return all intersection points between the 2 polylines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Polyline2DUtils()
Method Detail |
---|
public static final PolyOrientedCurve2D<SmoothOrientedCurve2D> createParallel(Polyline2D polyline, double d)
polyline
- the source curved
- the signed distance between the original curve and its parallel
public static final BoundaryPolyCurve2D<SmoothOrientedCurve2D> createClosedParallel(LinearRing2D polyline, double d)
polyline
- the source curved
- the signed distance between the original curve and its parallel
public static final Collection<Point2D> intersect(Polyline2D poly1, Polyline2D poly2)
poly1
- a polylinepoly2
- a polyline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |