Search Results for

    Show / Hide Table of Contents

    Class TaggedLineStringSimplifier

    Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm.

    Inheritance
    object
    TaggedLineStringSimplifier
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Simplify
    Assembly: NetTopologySuite.dll
    Syntax
    public class TaggedLineStringSimplifier

    Constructors

    | Edit this page View Source

    TaggedLineStringSimplifier(LineSegmentIndex, LineSegmentIndex)

    Declaration
    [Obsolete("Using this constructor will not work and it will be removed in a future version.", true)]
    public TaggedLineStringSimplifier(LineSegmentIndex inputIndex, LineSegmentIndex outputIndex)
    Parameters
    Type Name Description
    LineSegmentIndex inputIndex
    LineSegmentIndex outputIndex
    | Edit this page View Source

    TaggedLineStringSimplifier(LineSegmentIndex, LineSegmentIndex, ComponentJumpChecker)

    Declaration
    public TaggedLineStringSimplifier(LineSegmentIndex inputIndex, LineSegmentIndex outputIndex, ComponentJumpChecker crossChecker)
    Parameters
    Type Name Description
    LineSegmentIndex inputIndex
    LineSegmentIndex outputIndex
    ComponentJumpChecker crossChecker

    Properties

    | Edit this page View Source

    DistanceTolerance

    Sets the distance tolerance for the simplification. All vertices in the simplified geometry will be within this distance of the original geometry.

    Declaration
    [Obsolete]
    public double DistanceTolerance { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Simplify(TaggedLineString)

    Simplifies the given TaggedLineString using the distance tolerance specified.

    Declaration
    [Obsolete("Will be removed in a future version. Use overload with distanceTolerance parameter.")]
    public void Simplify(TaggedLineString line)
    Parameters
    Type Name Description
    TaggedLineString line

    The linestring to simplify.

    | Edit this page View Source

    Simplify(TaggedLineString, double)

    Simplifies the given TaggedLineString using the distance tolerance specified.

    Declaration
    public void Simplify(TaggedLineString line, double distanceTolerance)
    Parameters
    Type Name Description
    TaggedLineString line

    The linestring to simplify.

    double distanceTolerance

    The simplification distance tolerance

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