public class NonEncroachingSplitPointFinder extends Object implements ConstraintSplitPointFinder
| Constructor and Description |
|---|
NonEncroachingSplitPointFinder() |
| Modifier and Type | Method and 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 ConstraintSplitPointFinderseg - the encroached segmentencroachPt - the encroaching pointpublic static Coordinate projectedSplitPoint(Segment seg, Coordinate encroachPt)
seg - encroachPt - Copyright © 2024. All rights reserved.