pygplates.GmlPoint
- class pygplates.GmlPoint
Bases:
pygplates.PropertyValue
A property value representing a point geometry.
- __init__(point)
Create a property value representing a point geometry.
- Parameters
point (
PointOnSphere
orLatLonPoint
or tuple (latitude,longitude), in degrees, or tuple (x,y,z)) – the point geometry
point_property = pygplates.GmlPoint(point)
Methods
__init__
(point)Create a property value representing a point geometry.
accept_visitor
(visitor)Accept a property value visitor so that it can visit this property value.
clone
()Create a duplicate of this property value (derived) instance, including a recursive copy of any nested property values that this instance might contain.
get_geometry
()Extracts the
geometry
if this property value contains a geometry.Returns the point geometry of this property value.
get_value
([time=0])Extracts the value, of this possibly time-dependent property value, at the reconstruction time.
set_point
(point)Sets the point geometry of this property value.
- get_point()
Returns the point geometry of this property value.
- Return type
- set_point(point)
Sets the point geometry of this property value.
- Parameters
point (
PointOnSphere
orLatLonPoint
or tuple (latitude,longitude), in degrees, or tuple (x,y,z)) – the point geometry