Search Results for

    Show / Hide Table of Contents

    Class CoordinatePrecisionReducerFilter

    Reduces the precision of the Coordinates in a CoordinateSequence to match the supplied PrecisionModel.

    Inheritance
    object
    CoordinatePrecisionReducerFilter
    Implements
    ICoordinateSequenceFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Precision
    Assembly: NetTopologySuite.dll
    Syntax
    public class CoordinatePrecisionReducerFilter : ICoordinateSequenceFilter
    Remarks

    Uses MakePrecise(double). The input is modified in-place, so it should be cloned beforehand if the original should not be modified.

    Constructors

    | Edit this page View Source

    CoordinatePrecisionReducerFilter(PrecisionModel)

    Creates a new precision reducer filter.

    Declaration
    public CoordinatePrecisionReducerFilter(PrecisionModel precModel)
    Parameters
    Type Name Description
    PrecisionModel precModel

    The PrecisionModel to use

    Properties

    | Edit this page View Source

    Done

    Always runs over all geometry components.

    Declaration
    public bool Done { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    GeometryChanged

    Always reports that the geometry has changed

    Declaration
    public bool GeometryChanged { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Filter(CoordinateSequence, int)

    Rounds the Coordinates in the sequence to match the PrecisionModel

    Declaration
    public void Filter(CoordinateSequence seq, int i)
    Parameters
    Type Name Description
    CoordinateSequence seq
    int i

    Implements

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