ToolMap
|
Class representing real rectangle. More...
#include <tmgisscale.h>
Public Member Functions | |
tmRealRect (double xmin, double ymin, double xmax, double ymax) | |
bool | Clip (const tmRealRect &src, tmRealRect &result) |
Clip rectangle with another. | |
bool | operator== (const tmRealRect &pt) const |
bool | operator!= (const tmRealRect &pt) const |
double | GetWidth () |
double | GetHeight () |
OGRGeometry * | GetPolygonGeometry () |
Public Attributes | |
double | x_min |
double | y_min |
double | x_max |
double | y_max |
Class representing real rectangle.
Used for storing bounding box values
bool tmRealRect::Clip | ( | const tmRealRect & | src, |
tmRealRect & | result | ||
) |
Clip rectangle with another.
This function clip the rectangle with a src one and return the result.
src | Rectangle used for clipping (bigger) |
result | Result of a clipping area, in case of no clipping, value of result isn't changed |