Class CoordinatePrecisionReducerFilter
Reduces the precision of the Coordinates in a CoordinateSequence to match the supplied PrecisionModel.
Implements
Inherited Members
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
| Improve this Doc View SourceCoordinatePrecisionReducerFilter(PrecisionModel)
Creates a new precision reducer filter.
Declaration
public CoordinatePrecisionReducerFilter(PrecisionModel precModel)
Parameters
Type | Name | Description |
---|---|---|
PrecisionModel | precModel | The PrecisionModel to use |
Properties
| Improve this Doc View SourceDone
Always runs over all geometry components.
Declaration
public bool Done { get; }
Property Value
Type | Description |
---|---|
Boolean |
GeometryChanged
Always reports that the geometry has changed
Declaration
public bool GeometryChanged { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceFilter(CoordinateSequence, Int32)
Rounds the Coordinates in the sequence to match the PrecisionModel
Declaration
public void Filter(CoordinateSequence seq, int i)
Parameters
Type | Name | Description |
---|---|---|
CoordinateSequence | seq | |
Int32 | i |