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 class
Partition.GeomType
static interface
Partition.PartitionedOperation
-
Field Summary
Fields Modifier and Type Field Description Collection<Feature>
features
static org.apache.logging.log4j.Logger
LOGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
org.locationtech.jts.geom.Envelope
getEnvelope()
org.locationtech.jts.geom.Polygon
getExtend(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)
String
toString()
-
-
-
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)
-
-