MongoDB C++ Driver
legacy-1.1.2
|
Public Member Functions | |
virtual BSONObj | toBSON () const =0 |
Obtain a BSON representation of this GeoObj. More... | |
virtual BoundingBox< TCoordinates > | getBoundingBox () const =0 |
Obtain the bounding box of this GeoObj. More... | |
virtual GeoObjType | getType () const =0 |
Get the geometry type of this object. More... | |
|
pure virtual |
Obtain the bounding box of this GeoObj.
Implemented in mongo::geo::Point< TCoordinates >, mongo::geo::GeometryCollection< TCoordinates >, mongo::geo::Polygon< TCoordinates >, mongo::geo::LineString< TCoordinates >, mongo::geo::MultiLineString< TCoordinates >, mongo::geo::MultiPolygon< TCoordinates >, and mongo::geo::MultiPoint< TCoordinates >.
|
pure virtual |
Get the geometry type of this object.
Implemented in mongo::geo::Point< TCoordinates >, mongo::geo::GeometryCollection< TCoordinates >, mongo::geo::Polygon< TCoordinates >, mongo::geo::LineString< TCoordinates >, mongo::geo::MultiLineString< TCoordinates >, mongo::geo::MultiPolygon< TCoordinates >, and mongo::geo::MultiPoint< TCoordinates >.
|
pure virtual |
Obtain a BSON representation of this GeoObj.
Implemented in mongo::geo::Point< TCoordinates >, mongo::geo::GeometryCollection< TCoordinates >, mongo::geo::Polygon< TCoordinates >, mongo::geo::LineString< TCoordinates >, mongo::geo::MultiLineString< TCoordinates >, mongo::geo::MultiPolygon< TCoordinates >, and mongo::geo::MultiPoint< TCoordinates >.