Class AUnit
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Agent
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.AUnit
-
public class AUnit extends Agent
A tesselation unit, which consists of one or several AFaces. It is an agent representing a multipolygon statistical unit.- Author:
- julien Gaffuri
-
-
Field Summary
Fields Modifier and Type Field Description Collection<AFace>
aFaces
Collection<org.locationtech.jts.geom.Point>
points
-
Fields inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Agent
satisfaction, SATISFACTION_RESOLUTION
-
-
Constructor Summary
Constructors Constructor Description AUnit(Feature f, ATesselation aTess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containAtLeastOnePoint(org.locationtech.jts.geom.Polygon p)
boolean
containPoints()
ATesselation
getAtesselation()
int
getNumberOfNonDeletedFaces()
Feature
getObject()
void
updateGeomFromFaceGeoms()
-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Agent
activate, addConstraint, clearConstraints, computeSatisfaction, freeze, getConstraint, getConstraints, getId, getSatisfaction, getTransformations, isDeleted, isFrozen, isSatisfied, removeConstraint, setDeleted, setId, toString, unFreeze
-
-
-
-
Field Detail
-
points
public Collection<org.locationtech.jts.geom.Point> points
-
aFaces
public Collection<AFace> aFaces
-
-
Constructor Detail
-
AUnit
public AUnit(Feature f, ATesselation aTess)
-
-
Method Detail
-
getAtesselation
public ATesselation getAtesselation()
-
updateGeomFromFaceGeoms
public void updateGeomFromFaceGeoms()
-
getNumberOfNonDeletedFaces
public int getNumberOfNonDeletedFaces()
-
containPoints
public boolean containPoints()
-
containAtLeastOnePoint
public boolean containAtLeastOnePoint(org.locationtech.jts.geom.Polygon p)
-
-