Class Decomposer
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.algo.base.Decomposer
-
public class Decomposer extends Object
Decompose a set of geometries into a lot of smaller geometries, based on a quadtree decomposition.- Author:
- julien Gaffuri
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.logging.log4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description Decomposer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<Feature>decomposeFeature(Collection<Feature> fs, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)static Collection<org.locationtech.jts.geom.Geometry>decomposeGeometry(Collection<Feature> fs, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)
-
-
-
Method Detail
-
decomposeGeometry
public static Collection<org.locationtech.jts.geom.Geometry> decomposeGeometry(Collection<Feature> fs, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)
- Parameters:
fs- the input featuresmaxCoordinatesNumber-objMaxCoordinateNumber-gt-midRandom-- Returns:
-
decomposeFeature
public static Collection<Feature> decomposeFeature(Collection<Feature> fs, boolean parallel, int maxCoordinatesNumber, int objMaxCoordinateNumber, Partition.GeomType gt, double midRandom)
- Parameters:
fs-maxCoordinatesNumber-objMaxCoordinateNumber-gt-midRandom-- Returns:
-
-