|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.algorithm.distance.DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter
public static class DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter
Constructor Summary | |
---|---|
DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter(Geometry geom,
double fraction)
|
Method Summary | |
---|---|
void |
filter(CoordinateSequence seq,
int index)
Performs an operation on a coordinate in a CoordinateSequence . |
PointPairDistance |
getMaxPointDistance()
|
boolean |
isDone()
Reports whether the application of this filter can be terminated. |
boolean |
isGeometryChanged()
Reports whether the execution of this filter has modified the coordinates of the geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter(Geometry geom, double fraction)
Method Detail |
---|
public void filter(CoordinateSequence seq, int index)
CoordinateSequenceFilter
CoordinateSequence
.
filter
in interface CoordinateSequenceFilter
seq
- the CoordinateSequence
to which the filter is appliedindex
- the index of the coordinate to apply the filter topublic boolean isGeometryChanged()
CoordinateSequenceFilter
Geometry.geometryChanged()
will be executed
after this filter has finished being executed.
Most filters can simply return a constant value reflecting whether they are able to change the coordinates.
isGeometryChanged
in interface CoordinateSequenceFilter
public boolean isDone()
CoordinateSequenceFilter
isDone
in interface CoordinateSequenceFilter
public PointPairDistance getMaxPointDistance()
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |