Top | ![]() |
![]() |
![]() |
![]() |
The GeocodeBoundingBox represents a geographical area on earth, bounded by top, bottom, left and right coordinates.
GeocodeBoundingBox * geocode_bounding_box_new (gdouble top
,gdouble bottom
,gdouble left
,gdouble right
);
Creates a new GeocodeBoundingBox object.
gboolean geocode_bounding_box_equal (GeocodeBoundingBox *a
,GeocodeBoundingBox *b
);
Compare two GeocodeBoundingBox instances for equality. This compares all
fields and only returns TRUE
if the instances are exactly equal.
Both instances must be non-NULL
.
Since: 3.23.1
gdouble
geocode_bounding_box_get_top (GeocodeBoundingBox *bbox
);
Gets the top coordinate of bbox
.
gdouble
geocode_bounding_box_get_bottom (GeocodeBoundingBox *bbox
);
Gets the bottom coordinate of bbox
.
gdouble
geocode_bounding_box_get_left (GeocodeBoundingBox *bbox
);
Gets the left coordinate of bbox
.
gdouble
geocode_bounding_box_get_right (GeocodeBoundingBox *bbox
);
Gets the right coordinate of bbox
.
struct GeocodeBoundingBox;
All the fields in the GeocodeLocation structure are private and should never be accessed directly.
struct GeocodeBoundingBoxClass { };
All the fields in the GeocodeBoundingBoxClass structure are private and should never be accessed directly.
“bottom”
property“bottom” gdouble
Bottom coordinate.
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: 0
“left”
property“left” gdouble
Left coordinate.
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: 0
“right”
property“right” gdouble
Right coordinate.
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: 0
“top”
property“top” gdouble
Top coordinate.
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: 0