Package com.luciad.geometries
Class Geometry
java.lang.Object
com.luciad.geometries.Geometry
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
Bounds
,Curve
,ExtrudedGeometry
,MultiGeometry
,Point
,Surface
Geometry
is the root class of the hierarchy.
Geometry
is an abstract (non-instantiable) class.
The interpretation of the coordinates is subject to the coordinate reference systems associated to the geometry. All coordinates within a geometry object must be in the same coordinate reference systems. Each coordinate shall be unambiguously associated to a coordinate reference system either directly or through its containing geometry.
You can read more about the available geometries here.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getReference
Returns the coordinate reference of the geometry.- Returns:
- the coordinate reference of the geometry.
-
getBounds
Returns the bounds for the geometry object.- Returns:
- the bounds for the geometry object.
- Throws:
IllegalArgumentException
- if the bounds could not be computed. For example, when the geometry is defined by invalid points.
-