Interface IConstraintSplitPointFinder
An interface for strategies for determining the location of split points on constraint segments. The location of split points has a large effect on the performance and robustness of enforcing a constrained Delaunay triangulation. Poorly chosen split points can cause repeated splitting, especially at narrow constraint angles, since the split point will end up encroaching on the segment containing the original encroaching point. With detailed knowledge of the geometry of the constraints, it is sometimes possible to choose better locations for splitting.
Namespace: NetTopologySuite.Triangulate
Assembly: NetTopologySuite.dll
Syntax
public interface IConstraintSplitPointFinder
Methods
| Edit this page View SourceFindSplitPoint(Segment, Coordinate)
Finds a point at which to split an encroached segment to allow the original segment to appear as edges in a constrained Delaunay triangulation.
Declaration
Coordinate FindSplitPoint(Segment seg, Coordinate encroachPt)
Parameters
Type | Name | Description |
---|---|---|
Segment | seg | the encroached segment |
Coordinate | encroachPt | the encroaching point |
Returns
Type | Description |
---|---|
Coordinate | the point at which to split the encroached segment |