Class ATesselation
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Agent
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.ATesselation
-
public class ATesselation extends Agent
A tesselation to be generalised. It is a macro agent.- Author:
- julien Gaffuri
-
-
Field Summary
Fields Modifier and Type Field Description Collection<AEdge>aEdgesCollection<AFace>aFacesCollection<AUnit>aUnitsGraphgraphstatic org.apache.logging.log4j.LoggerLOGGER-
Fields inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Agent
satisfaction, SATISFACTION_RESOLUTION
-
-
Constructor Summary
Constructors Constructor Description ATesselation(Collection<Feature> units)ATesselation(Collection<Feature> units, org.locationtech.jts.geom.Envelope env, HashMap<String,Collection<org.locationtech.jts.geom.Point>> points)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ATesselationbuildTopologicalMap()voidclear()ATesselationdestroyTopologicalMap()AEdgegetAEdge(Edge e)AFacegetAFace(Face f)AUnitgetAUnit(Feature unit)Collection<Feature>getEdges()Collection<Feature>getFaces()Collection<Feature>getUnits()Collection<AUnit>query(org.locationtech.jts.geom.Envelope env)-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Agent
activate, addConstraint, clearConstraints, computeSatisfaction, freeze, getConstraint, getConstraints, getId, getObject, getSatisfaction, getTransformations, isDeleted, isFrozen, isSatisfied, removeConstraint, setDeleted, setId, toString, unFreeze
-
-
-
-
Field Detail
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER
-
aUnits
public Collection<AUnit> aUnits
-
graph
public Graph graph
-
aEdges
public Collection<AEdge> aEdges
-
aFaces
public Collection<AFace> aFaces
-
-
Constructor Detail
-
ATesselation
public ATesselation(Collection<Feature> units)
-
ATesselation
public ATesselation(Collection<Feature> units, org.locationtech.jts.geom.Envelope env, HashMap<String,Collection<org.locationtech.jts.geom.Point>> points)
-
-
Method Detail
-
buildTopologicalMap
public ATesselation buildTopologicalMap() throws Exception
- Throws:
Exception
-
destroyTopologicalMap
public ATesselation destroyTopologicalMap()
-
getEdges
public Collection<Feature> getEdges()
-
getFaces
public Collection<Feature> getFaces()
-
getUnits
public Collection<Feature> getUnits()
-
query
public Collection<AUnit> query(org.locationtech.jts.geom.Envelope env)
-
-