Package mil.nga.geopackage.geom
Class GeometryCrop
- java.lang.Object
-
- mil.nga.geopackage.geom.GeometryCrop
-
public class GeometryCrop extends Object
Geometry Crop utilities- Since:
- 6.5.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeometryCrop()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
crop(Projection projection, GeoPackageGeometryData geometryData)
Crop the geometry data with a world map envelope, defined in the provided projectionstatic void
crop(Projection projection, GeoPackageGeometryData geometryData, GeometryEnvelope envelope)
Crop the geometry data with the envelope, both in the provided projectionstatic Geometry
crop(Projection projection, Geometry geometry)
Crop the geometry with a world map envelope, defined in the provided projectionstatic Geometry
crop(Projection projection, Geometry geometry, GeometryEnvelope envelope)
Crop the geometry with the envelope, both in the provided projectionstatic GeometryEnvelope
envelope(Projection projection)
Get a geometry envelope for the projection
-
-
-
Method Detail
-
crop
public static void crop(Projection projection, GeoPackageGeometryData geometryData)
Crop the geometry data with a world map envelope, defined in the provided projection- Parameters:
projection
- geometry data and envelope projectiongeometryData
- geometry data
-
crop
public static void crop(Projection projection, GeoPackageGeometryData geometryData, GeometryEnvelope envelope)
Crop the geometry data with the envelope, both in the provided projection- Parameters:
projection
- geometry data and envelope projectiongeometryData
- geometry dataenvelope
- geometry envelope
-
crop
public static Geometry crop(Projection projection, Geometry geometry)
Crop the geometry with a world map envelope, defined in the provided projection- Parameters:
projection
- geometry and envelope projectiongeometry
- geometry- Returns:
- cropped geometry
-
crop
public static Geometry crop(Projection projection, Geometry geometry, GeometryEnvelope envelope)
Crop the geometry with the envelope, both in the provided projection- Parameters:
projection
- geometry and envelope projectiongeometry
- geometryenvelope
- geometry envelope- Returns:
- cropped geometry
-
envelope
public static GeometryEnvelope envelope(Projection projection)
Get a geometry envelope for the projection- Parameters:
projection
- projection- Returns:
- envelope
-
-