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 double
scaleRatio
-
Constructor Summary
Constructors Constructor Description TEdgeSimplifier(AEdge agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
boolean
isCancelable()
protected void
postScaleClosed(Edge e, double targetArea)
void
storeState()
-
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:
isCancelable
in classTransformationCancellable<AEdge>
-
postScaleClosed
protected void postScaleClosed(Edge e, double targetArea)
-
storeState
public void storeState()
- Specified by:
storeState
in classTransformationCancellable<AEdge>
-
cancel
public void cancel()
- Specified by:
cancel
in classTransformationCancellable<AEdge>
-
-