public class GeometryCoordinateDimension extends Object
| Constructor and Description |
|---|
GeometryCoordinateDimension() |
| Modifier and Type | Method and Description |
|---|---|
static org.locationtech.jts.geom.GeometryCollection |
convert(org.locationtech.jts.geom.GeometryCollection gc,
int dimension)
Force the dimension of the GeometryCollection and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.LinearRing |
convert(org.locationtech.jts.geom.LinearRing linearRing,
int dimension)
Force the dimension of the LinearRing and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.LinearRing |
convert(org.locationtech.jts.geom.LineString lineString,
int dimension)
Force the dimension of the LineString and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.MultiLineString |
convert(org.locationtech.jts.geom.MultiLineString multiLineString,
int dimension)
Force the dimension of the MultiLineString and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.MultiPolygon |
convert(org.locationtech.jts.geom.MultiPolygon multiPolygon,
int dimension)
Force the dimension of the MultiPolygon and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.Polygon |
convert(org.locationtech.jts.geom.Polygon polygon,
int dimension)
Force the dimension of the Polygon and update correctly the coordinate
dimension
|
static org.locationtech.jts.geom.Geometry |
force(org.locationtech.jts.geom.Geometry geom,
int dimension)
Force the dimension of the geometry and update correctly the coordinate
dimension
|
public static org.locationtech.jts.geom.Geometry force(org.locationtech.jts.geom.Geometry geom,
int dimension)
geom - the input geometrydimension - supported dimension is 2, 3
if the dimension is set to 3 the z measure are set to 0public static org.locationtech.jts.geom.GeometryCollection convert(org.locationtech.jts.geom.GeometryCollection gc,
int dimension)
gc - dimension - public static org.locationtech.jts.geom.MultiPolygon convert(org.locationtech.jts.geom.MultiPolygon multiPolygon,
int dimension)
multiPolygon - dimension - public static org.locationtech.jts.geom.MultiLineString convert(org.locationtech.jts.geom.MultiLineString multiLineString,
int dimension)
multiLineString - dimension - public static org.locationtech.jts.geom.Polygon convert(org.locationtech.jts.geom.Polygon polygon,
int dimension)
polygon - dimension - public static org.locationtech.jts.geom.LinearRing convert(org.locationtech.jts.geom.LineString lineString,
int dimension)
lineString - dimension - public static org.locationtech.jts.geom.LinearRing convert(org.locationtech.jts.geom.LinearRing linearRing,
int dimension)
linearRing - dimension - Copyright © 2019 CNRS. All rights reserved.