Class Partition
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.algo.base.Partition
-
public class Partition extends Object
- Author:
- julien Gaffuri
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartition.GeomTypestatic interfacePartition.PartitionedOperation
-
Field Summary
Fields Modifier and Type Field Description Collection<Feature>featuresstatic org.apache.logging.log4j.LoggerLOGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()org.locationtech.jts.geom.EnvelopegetEnvelope()org.locationtech.jts.geom.PolygongetExtend(org.locationtech.jts.geom.GeometryFactory gf)Collection<Feature>getFeatures()static Collection<Feature>getPartitionDataset(Collection<Feature> features, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)static Collection<Feature>runRecursively(Collection<Feature> features, Partition.PartitionedOperation op, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, boolean ignoreRecomposition, Partition.GeomType gt, double midRandom)StringtoString()
-
-
-
Field Detail
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER
-
features
public Collection<Feature> features
-
-
Method Detail
-
runRecursively
public static Collection<Feature> runRecursively(Collection<Feature> features, Partition.PartitionedOperation op, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, boolean ignoreRecomposition, Partition.GeomType gt, double midRandom)
-
getCode
public String getCode()
-
getFeatures
public Collection<Feature> getFeatures()
-
getEnvelope
public org.locationtech.jts.geom.Envelope getEnvelope()
-
getExtend
public org.locationtech.jts.geom.Polygon getExtend(org.locationtech.jts.geom.GeometryFactory gf)
-
getPartitionDataset
public static Collection<Feature> getPartitionDataset(Collection<Feature> features, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)
-
-