ConstraintSplitPointFinder
public class MidpointSplitPointFinder extends java.lang.Object implements ConstraintSplitPointFinder
Constructor | Description |
---|---|
MidpointSplitPointFinder() |
Modifier and Type | Method | Description |
---|---|---|
Coordinate |
findSplitPoint(Segment seg,
Coordinate encroachPt) |
Gets the midpoint of the split segment
|
public Coordinate findSplitPoint(Segment seg, Coordinate encroachPt)
findSplitPoint
in interface ConstraintSplitPointFinder
seg
- the encroached segmentencroachPt
- the encroaching pointCopyright © 2018. All rights reserved.