BoundingBox
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "champlain_bounding_box_get_type ()" ) ]
[ Compact ]
[ Version ( since = "0.6" ) ]
public class BoundingBox
Defines the area of a ChamplainMapDataSource that contains data.
Content:
Creation methods:
- public BoundingBox ()
Creates a newly allocated BoundingBox to be
freed with free.
Methods:
- public void compose (BoundingBox other)
Sets bbox equal to the bounding box containing both
this and other
.
- public BoundingBox copy ()
Makes a copy of the bounding box structure.
- public bool covers (double latitude, double longitude)
Checks whether this covers the given
coordinates.
- public void extend (double latitude, double longitude)
Extend the bounding box so it contains a point with latitude
and longitude
.
- public void free ()
- public void get_center (out double latitude, out double longitude)
Gets the center's latitude and longitude of the box to latitude
and longitude
.
- public bool is_valid ()
Checks whether this represents a
valid bounding box on the map.
Fields: