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