public class SegmentIntersector extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
numTests
|
| Constructor and Description |
|---|
SegmentIntersector(LineIntersector
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIntersections(Edge
This method is called by clients of the EdgeIntersector class to test for and add intersections for two segments of the edges being intersected.
|
Coordinate |
getProperIntersectionPoint()
|
boolean |
hasIntersection()
|
boolean |
hasProperInteriorIntersection()
A proper interior intersection is a proper intersection which is
not contained in the set of boundary nodes set for this SegmentIntersector.
|
boolean |
hasProperIntersection()
A proper intersection is an intersection which is interior to at least two line segments.
|
static boolean |
isAdjacentSegments(int i1, int i2)
|
void |
setBoundaryNodes(Collection
|
public SegmentIntersector(LineIntersectorli, boolean includeProper, boolean recordIsolated)
public static boolean isAdjacentSegments(int i1,
int i2)public void setBoundaryNodes(CollectionbdyNodes0, Collection bdyNodes1)
public CoordinategetProperIntersectionPoint()
null if none was found
public boolean hasIntersection()
public boolean hasProperIntersection()
public boolean hasProperInteriorIntersection()
public void addIntersections(Edgee0, int segIndex0, Edge e1, int segIndex1)