|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmath.geom2d.polygon.Polylines2D
public abstract class Polylines2D
Some utility functions for manipulating Polyline2D.
| Constructor Summary | |
|---|---|
Polylines2D()
|
|
| Method Summary | |
|---|---|
static boolean |
hasMultipleVertices(LinearCurve2D polyline)
Checks if the open polyline has multiple vertices. |
static boolean |
hasMultipleVertices(LinearCurve2D polyline,
boolean closed)
Checks if the input polyline has multiple vertices. |
static java.util.Collection<Point2D> |
intersect(LinearCurve2D poly1,
LinearCurve2D poly2)
Return all intersection points between the 2 polylines. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Polylines2D()
| Method Detail |
|---|
public static final boolean hasMultipleVertices(LinearCurve2D polyline)
public static final boolean hasMultipleVertices(LinearCurve2D polyline,
boolean closed)
public static java.util.Collection<Point2D> intersect(LinearCurve2D poly1,
LinearCurve2D poly2)
poly1 - a first polylinepoly2 - a second polyline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||