public abstract class Polyline2DUtils extends Object
Constructor and Description |
---|
Polyline2DUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final PolyOrientedCurve2D<SmoothOrientedCurve2D> createParallel(Polyline2D polyline, double d)
polyline
- the source curved
- the signed distance between the original curve and its parallelpublic static final BoundaryPolyCurve2D<SmoothOrientedCurve2D> createClosedParallel(LinearRing2D polyline, double d)
polyline
- the source curved
- the signed distance between the original curve and its parallelpublic static final Collection<Point2D> intersect(Polyline2D poly1, Polyline2D poly2)
poly1
- a polylinepoly2
- a polylineCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.