Creates a newly allocated #ChamplainBoundingBox to be freed with champlain_bounding_box_free().
bottom coordinate
left coordinate
right coordinate
top coordinate
Sets bbox equal to the bounding box containing both bbox
and other
.
a #ChamplainBoundingBox
Makes a copy of the bounding box structure. The result must be freed using champlain_bounding_box_free().
Checks whether bbox
covers the given coordinates.
the latitude of the point
the longitude of the point
Extend the bounding box so it contains a point with latitude
and longitude
.
Do nothing if the point is already inside the bounding box.
the latitude of the point
the longitude of the point
Frees a bounding box structure created with champlain_bounding_box_new() or champlain_bounding_box_copy().
Gets the center's latitude and longitude of the box to latitude
and longitude
.
Checks whether bbox
represents a valid bounding box on the map.
Creates a newly allocated #ChamplainBoundingBox to be freed with champlain_bounding_box_free().
Defines the area of a ChamplainMapDataSource that contains data.