| Package | Description |
|---|---|
| com.mapinfo.midev.geometry |
The Geometry package consists of a series of interfaces, classes and enumerations that allow users to work with
geometry objects.
|
| Modifier and Type | Method and Description |
|---|---|
static SpatialInfo |
SpatialInfo.create(CoordSys coordsys)
Create a (cached) SpatialInfo based on a coordinate system.
|
SpatialInfo |
Envelope.getSpatialInfo()
Returns the
Envelope's spatial metadata. |
SpatialInfo |
IGeometry.getSpatialInfo()
Get the spatial info for this geometry.
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryFactory |
GeometryFactory.forSpatialInfo(SpatialInfo spatialInfo)
Creates a new geometry factory for the given spatial info object.
|
Envelope |
Envelope.getCopy(SpatialInfo spatialInfo)
Returns a copy of this
Envelope but with the coordinates transformed into the specified
SpatialInfo. |
void |
Envelope.setEmpty(SpatialInfo spatialInfo)
Re-initialize this envelope to be empty and to have the given spatial metadata.
|
| Constructor and Description |
|---|
Envelope(com.mapinfo.midev.geometry.DirectPosition dp1,
com.mapinfo.midev.geometry.DirectPosition dp2,
SpatialInfo spatialInfo)
Create an
Envelope given two direct positions and a coordinate system. |
Envelope(double x1,
double y1,
double x2,
double y2,
SpatialInfo spatialInfo)
Create an
Envelope given two x,y values and a coordinate system. |
Envelope(SpatialInfo spatialInfo)
Create an empty
Envelope. |