GeocodeGlib.BoundingBox¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Bottom coordinate |
||
r/w/co |
Left coordinate |
||
r/w/co |
Right coordinate |
||
r/w/co |
Top coordinate |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GeocodeGlib.BoundingBox(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GeocodeGlib.Location
structure are private and should never be accessed directly.- classmethod new(top, bottom, left, right)¶
- Parameters:
- Returns:
a new
GeocodeGlib.BoundingBox
object. UseGObject.Object.unref
() when done.- Return type:
Creates a new
GeocodeGlib.BoundingBox
object.
- equal(b)¶
- Parameters:
b (
GeocodeGlib.BoundingBox
) – another bounding box- Returns:
- Return type:
Compare two
GeocodeGlib.BoundingBox
instances for equality. This compares all fields and only returnsTrue
if the instances are exactly equal.Both instances must be non-
None
.New in version 3.23.1.
- get_bottom()¶
- Returns:
the bottom coordinate of self.
- Return type:
Gets the bottom coordinate of self.
- get_left()¶
- Returns:
the left coordinate of self.
- Return type:
Gets the left coordinate of self.
- get_right()¶
- Returns:
the right coordinate of self.
- Return type:
Gets the right coordinate of self.
Property Details¶
- GeocodeGlib.BoundingBox.props.bottom¶
- Name:
bottom
- Type:
- Default Value:
0.0
- Flags:
Bottom coordinate.
- GeocodeGlib.BoundingBox.props.left¶
- Name:
left
- Type:
- Default Value:
0.0
- Flags:
Left coordinate.
- GeocodeGlib.BoundingBox.props.right¶
- Name:
right
- Type:
- Default Value:
0.0
- Flags:
Right coordinate.
- GeocodeGlib.BoundingBox.props.top¶
- Name:
top
- Type:
- Default Value:
0.0
- Flags:
Top coordinate.