ConstraintSplitPointFinder
public class NonEncroachingSplitPointFinder extends java.lang.Object implements ConstraintSplitPointFinder
Constructor | Description |
---|---|
NonEncroachingSplitPointFinder() |
Modifier and Type | Method | Description |
---|---|---|
Coordinate |
findSplitPoint(Segment seg,
Coordinate encroachPt) |
A basic strategy for finding split points when nothing extra is known about the geometry of
the situation.
|
static Coordinate |
projectedSplitPoint(Segment seg,
Coordinate encroachPt) |
Computes a split point which is the projection of the encroaching point on the segment
|
public Coordinate findSplitPoint(Segment seg, Coordinate encroachPt)
findSplitPoint
in interface ConstraintSplitPointFinder
seg
- the encroached segmentencroachPt
- the encroaching pointpublic static Coordinate projectedSplitPoint(Segment seg, Coordinate encroachPt)
seg
- encroachPt
- Copyright © 2018. All rights reserved.