Class DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter
A coordinate filter that computes the maximum PointPairDistance between points of
an assigned Geometry
and all filtered geometries. The filtered geometries' line segments
are
Inherited Members
Namespace: NetTopologySuite.Algorithm.Distance
Assembly: NetTopologySuite.dll
Syntax
public class DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter : ICoordinateSequenceFilter, IEntireCoordinateSequenceFilter
Constructors
| Edit this page View SourceMaxDensifiedByFractionDistanceFilter(Geometry, double)
Creates an instance of this filter class
Declaration
public MaxDensifiedByFractionDistanceFilter(Geometry geom, double fraction)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | The geometry to densify |
double | fraction | The densification fraction |
Properties
| Edit this page View SourceDone
Reports whether the application of this filter can be terminated.
Declaration
public bool Done { get; }
Property Value
Type | Description |
---|---|
bool | As this filter does not end prematurely, the return value is always |
Remarks
Once this method returns true
, it must
continue to return true
on every subsequent call.
GeometryChanged
Reports whether the execution of this filter has modified the coordinates of the geometry. If so, GeometryChanged() will be executed after this filter has finished being executed.
Declaration
public bool GeometryChanged { get; }
Property Value
Type | Description |
---|---|
bool | As this filter does not change the geometry, the return value is always |
Remarks
Most filters can simply return a constant value reflecting whether they are able to change the coordinates.
MaxPointDistance
Gets a value indicating the maximum distance between p
Declaration
public PointPairDistance MaxPointDistance { get; }
Property Value
Type | Description |
---|---|
PointPairDistance |
Methods
| Edit this page View SourceFilter(CoordinateSequence, int)
Performs an operation on a coordinate in a CoordinateSequence.
Declaration
public void Filter(CoordinateSequence seq, int index)
Parameters
Type | Name | Description |
---|---|---|
CoordinateSequence | seq | the |
int | index |