Search Results for

    Show / Hide Table of Contents

    Class SplitSegment

    Models a constraint segment which can be split in two in various ways, according to certain geometric constraints.

    Inheritance
    object
    SplitSegment
    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 SplitSegment

    Constructors

    | Edit this page View Source

    SplitSegment(LineSegment)

    Creates an instance of this class using the provided LineSegment

    Declaration
    public SplitSegment(LineSegment seg)
    Parameters
    Type Name Description
    LineSegment seg

    A LineSegment

    Properties

    | Edit this page View Source

    MinimumLength

    Gets or sets a value indicating the minimum length of a segment

    Declaration
    public double MinimumLength { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    SplitPoint

    Gets a value indicating the computed split point

    Declaration
    public Coordinate SplitPoint { get; }
    Property Value
    Type Description
    Coordinate

    Methods

    | Edit this page View Source

    SplitAt(Coordinate)

    Computes the SplitPoint close to the given Coordinate, ensuring that MinimumLength is not violated.

    Declaration
    public void SplitAt(Coordinate pt)
    Parameters
    Type Name Description
    Coordinate pt

    The Coordinate to split at

    | Edit this page View Source

    SplitAt(double, Coordinate)

    Computes the SplitPoint using the provided length and endPt.

    Declaration
    public void SplitAt(double length, Coordinate endPt)
    Parameters
    Type Name Description
    double length

    The length to split at

    Coordinate endPt

    The Coordinate to split at

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