public class MidpointSplitPointFinder extends Object implements ConstraintSplitPointFinder
Constructor and Description |
---|
MidpointSplitPointFinder() |
Modifier and Type | Method and 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 © 2024. All rights reserved.