Package com.cognite.client.util.geo
Class Geometries
- java.lang.Object
-
- com.cognite.client.util.geo.Geometries
-
-
Constructor Summary
Constructors Constructor Description Geometries()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Geometryof(Point coordinates)static Geometryof(Polygon coordinates)
-
-
-
Method Detail
-
of
public static Geometry of(Point coordinates)
- Parameters:
coordinates- The point coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
public static Geometry of(LineString coordinates)
Create aGeometryobject withLineStringcoordinates.- Parameters:
coordinates- The line string coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
public static Geometry of(Polygon coordinates)
- Parameters:
coordinates- The polygon coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
public static Geometry of(MultiPoint coordinates)
Create aGeometryobject withMultiPointcoordinates.- Parameters:
coordinates- The multi point coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
public static Geometry of(MultiLineString coordinates)
Create aGeometryobject withMultiLineStringcoordinates.- Parameters:
coordinates- The multi line string coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
of
public static Geometry of(MultiPolygon coordinates)
Create aGeometryobject withMultiPolygoncoordinates.- Parameters:
coordinates- The multi polygon coordinates of the geometry.- Returns:
- The geometry with the coordinates configured.
-
-