|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.triangulate.MidpointSplitPointFinder
public class MidpointSplitPointFinder
A simple split point finder which returns the midpoint of the split segment. This is a default strategy only. Usually a more sophisticated strategy is required to prevent repeated splitting. Other points which could be used are:
Constructor Summary | |
---|---|
MidpointSplitPointFinder()
|
Method Summary | |
---|---|
Coordinate |
findSplitPoint(Segment seg,
Coordinate encroachPt)
Gets the midpoint of the split segment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MidpointSplitPointFinder()
Method Detail |
---|
public Coordinate findSplitPoint(Segment seg, Coordinate encroachPt)
findSplitPoint
in interface ConstraintSplitPointFinder
seg
- the encroached segmentencroachPt
- the encroaching point
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |