Search Results for

    Show / Hide Table of Contents

    Class MidpointSplitPointFinder

    A simple split point finder which returns the midpoint of the split segment. This is a default strategy only. Usually a more sophisticated strategy is required to prevent repeated splitting. Other points which could be used are:

    • The projection of the encroaching point on the segment
    • A point on the segment which will produce two segments which will not be further encroached
    • The point on the segment which is the same distance from an endpoint as the encroaching
    • point
    Inheritance
    object
    MidpointSplitPointFinder
    Implements
    IConstraintSplitPointFinder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Triangulate
    Assembly: NetTopologySuite.dll
    Syntax
    public class MidpointSplitPointFinder : IConstraintSplitPointFinder

    Methods

    | Edit this page View Source

    FindSplitPoint(Segment, Coordinate)

    Gets the midpoint of the split segment

    Declaration
    public Coordinate FindSplitPoint(Segment seg, Coordinate encroachPt)
    Parameters
    Type Name Description
    Segment seg
    Coordinate encroachPt
    Returns
    Type Description
    Coordinate

    Implements

    IConstraintSplitPointFinder
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX