|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.noding.InteriorIntersectionFinder
Finds an interior intersection in a set of SegmentStrings,
if one exists. Only the first intersection found is reported.
| Constructor Summary | |
InteriorIntersectionFinder(LineIntersector li)
Creates an intersection finder which finds an interior intersection if one exists |
|
| Method Summary | |
Coordinate |
getInteriorIntersection()
Gets the computed location of the intersection. |
Coordinate[] |
getIntersectionSegments()
Gets the endpoints of the intersecting segments. |
boolean |
hasIntersection()
Tests whether an intersection was found. |
boolean |
isDone()
|
void |
processIntersections(SegmentString e0,
int segIndex0,
SegmentString e1,
int segIndex1)
This method is called by clients of the SegmentIntersector class to process
intersections for two segments of the SegmentStrings being intersected. |
void |
setCheckEndSegmentsOnly(boolean isCheckEndSegmentsOnly)
Sets whether only end segments should be tested for interior intersection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InteriorIntersectionFinder(LineIntersector li)
li - the LineIntersector to use| Method Detail |
public void setCheckEndSegmentsOnly(boolean isCheckEndSegmentsOnly)
isCheckEndSegmentsOnly - whether to test only end segmentspublic boolean hasIntersection()
public Coordinate getInteriorIntersection()
public Coordinate[] getIntersectionSegments()
public void processIntersections(SegmentString e0,
int segIndex0,
SegmentString e1,
int segIndex1)
SegmentIntersector class to process
intersections for two segments of the SegmentStrings being intersected.
Note that some clients (such as MonotoneChains) may optimize away
this call for segment pairs which they have determined do not intersect
(e.g. by an disjoint envelope test).
processIntersections in interface SegmentIntersectorpublic boolean isDone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||