Class TEdgeSimplifier
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Transformation<T>
-
- eu.europa.ec.eurostat.jgiscotools.agent.TransformationCancellable<AEdge>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.TEdgeSimplifier
-
- Direct Known Subclasses:
TEdgeSimplifierGaussianSmoothing,TEdgeSimplifierRamerDouglasPeucker,TEdgeSimplifierVisvalingamWhyatt
public abstract class TEdgeSimplifier extends TransformationCancellable<AEdge>
Generic class for edge geometry simplifiers.- Author:
- julien Gaffuri
-
-
Field Summary
Fields Modifier and Type Field Description protected doublescaleRatio
-
Constructor Summary
Constructors Constructor Description TEdgeSimplifier(AEdge agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()booleanisCancelable()protected voidpostScaleClosed(Edge e, double targetArea)voidstoreState()-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Transformation
apply, getAgent, toString
-
-
-
-
Constructor Detail
-
TEdgeSimplifier
public TEdgeSimplifier(AEdge agent)
-
-
Method Detail
-
isCancelable
public boolean isCancelable()
- Overrides:
isCancelablein classTransformationCancellable<AEdge>
-
postScaleClosed
protected void postScaleClosed(Edge e, double targetArea)
-
storeState
public void storeState()
- Specified by:
storeStatein classTransformationCancellable<AEdge>
-
cancel
public void cancel()
- Specified by:
cancelin classTransformationCancellable<AEdge>
-
-