Package com.cognite.client.util.geo
Class Geometries
java.lang.Object
com.cognite.client.util.geo.Geometries
Helper class for working with
Geometry objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometryof(LineString coordinates) Create aGeometryobject withLineStringcoordinates.static Geometryof(MultiLineString coordinates) Create aGeometryobject withMultiLineStringcoordinates.static Geometryof(MultiPoint coordinates) Create aGeometryobject withMultiPointcoordinates.static Geometryof(MultiPolygon coordinates) Create aGeometryobject withMultiPolygoncoordinates.static Geometrystatic Geometry
-
Constructor Details
-
Geometries
public Geometries()
-
-
Method Details
-
of
- Parameters:
coordinates- The point coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
Create aGeometryobject withLineStringcoordinates.- Parameters:
coordinates- The line string coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
- Parameters:
coordinates- The polygon coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
Create aGeometryobject withMultiPointcoordinates.- Parameters:
coordinates- The multi point coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
Create aGeometryobject withMultiLineStringcoordinates.- Parameters:
coordinates- The multi line string coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
Create aGeometryobject withMultiPolygoncoordinates.- Parameters:
coordinates- The multi polygon coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-