public class NonEncroachingSplitPointFinder extends Objectimplements ConstraintSplitPointFinder
| Constructor and Description |
|---|
NonEncroachingSplitPointFinder()
|
| Modifier and Type | Method and Description |
|---|---|
Coordinate |
findSplitPoint(Segment
A basic strategy for finding split points when nothing extra is known about the geometry of the situation.
|
static Coordinate |
projectedSplitPoint(Segment
Computes a split point which is the projection of the encroaching point on the segment
|
public CoordinatefindSplitPoint(Segment seg, Coordinate encroachPt)
findSplitPoint in interface
ConstraintSplitPointFinder
seg - the encroached segment
encroachPt - the encroaching point
public static CoordinateprojectedSplitPoint(Segment seg, Coordinate encroachPt)
seg -
encroachPt -