Create new (invalid) bounds.
the EPSG CRS code of the bounds, like "4326" for example.
The EPSG CRS code, like "4326" for example
Do the bounds have a Z value? (if valid)
The maximum X value (if valid)
The maximum Y value (if valid)
The maximum Z value (if valid)
The minimum X value (if valid)
The minimum Y value (if valid)
The minimum Z value (if valid)
Do these bounds have a valid spatial extent?
The type of objects in this class
Add a coordinate to the bounds.
the coordinate to add.
Add a 2D coordinate using X and Y.
the X value to add.
the Y value to add.
Add a 3D coordinate using X, Y and Z. Note that this makes this instance a 3D bounds instance.
the X value to add.
the Y value to add.
the Z value to add.
Get the center coordinate.
returns null if these bounds are not valid.
Get the depth (along the Z axis) of these bounds.
returns 0.0 if these bounds are not valid or not 3D.
Get the height (along the Y axis) of these bounds.
returns 0.0 if these bounds are not valid.
Get the width (along the X axis) of these bounds.
returns 0.0 if these bounds are not valid.
Convert the object to a string.
the string form of the object.
Create new 2D bounds.
the EPSG CRS code of the bounds, like "4326" for example.
the minimum X value.
the minimum Y value.
the maximum X value.
the maximum Y value.
the new bounds.
Create new 3D bounds.
the EPSG CRS code of the bounds, like "4326" for example.
the minimum X value.
the minimum Y value.
the minimum Z value.
the maximum X value.
the maximum Y value.
the maximum Z value.
the new bounds.
Class Bounds defines a spatial bounding box in 2D or 3D. It has a coordinate reference system (CRS) and can be valid or invalid.