Public Member Functions | |
GeospatialExtents () | |
GeospatialExtents (double xmin, double ymin, double xmax, double ymax, bool isGeographic) | |
double & | xMin () |
double | xMin () const |
double & | yMin () |
double | yMin () const |
double & | xMax () |
double | xMax () const |
double & | yMax () |
double | yMax () const |
void | init () |
bool | valid () const |
double | radius () const |
double | radius2 () const |
GeospatialExtents | intersection (const GeospatialExtents &e, double xoffset) const |
bool | intersects (const GeospatialExtents &bb) const |
void | expandBy (const osg::BoundingSphere &sh) |
void | expandBy (const osg::Vec3 &v) |
void | expandBy (const GeospatialExtents &e) |
Public Attributes | |
osg::Vec2d | _min |
osg::Vec2d | _max |
bool | _isGeographic |
osgTerrain::GeospatialExtents::GeospatialExtents | ( | ) | [inline] |
osgTerrain::GeospatialExtents::GeospatialExtents | ( | double | xmin, | |
double | ymin, | |||
double | xmax, | |||
double | ymax, | |||
bool | isGeographic | |||
) | [inline] |
void osgTerrain::GeospatialExtents::expandBy | ( | const GeospatialExtents & | e | ) | [inline] |
void osgTerrain::GeospatialExtents::expandBy | ( | const osg::Vec3 & | v | ) | [inline] |
void osgTerrain::GeospatialExtents::expandBy | ( | const osg::BoundingSphere & | sh | ) | [inline] |
void osgTerrain::GeospatialExtents::init | ( | ) | [inline] |
GeospatialExtents osgTerrain::GeospatialExtents::intersection | ( | const GeospatialExtents & | e, | |
double | xoffset | |||
) | const [inline] |
bool osgTerrain::GeospatialExtents::intersects | ( | const GeospatialExtents & | bb | ) | const [inline] |
Return true if this bounding box intersects the specified bounding box.
double osgTerrain::GeospatialExtents::radius | ( | ) | const [inline] |
double osgTerrain::GeospatialExtents::radius2 | ( | ) | const [inline] |
bool osgTerrain::GeospatialExtents::valid | ( | ) | const [inline] |
double osgTerrain::GeospatialExtents::xMax | ( | ) | const [inline] |
double& osgTerrain::GeospatialExtents::xMax | ( | ) | [inline] |
double osgTerrain::GeospatialExtents::xMin | ( | ) | const [inline] |
double& osgTerrain::GeospatialExtents::xMin | ( | ) | [inline] |
double osgTerrain::GeospatialExtents::yMax | ( | ) | const [inline] |
double& osgTerrain::GeospatialExtents::yMax | ( | ) | [inline] |
double osgTerrain::GeospatialExtents::yMin | ( | ) | const [inline] |
double& osgTerrain::GeospatialExtents::yMin | ( | ) | [inline] |