pygplates.GmlPoint¶
-
class
pygplates.GmlPoint¶ Bases:
pygplates.PropertyValueA property value representing a point geometry.
-
__init__(point)¶ Create a property value representing a point geometry.
Parameters: point ( PointOnSphereorLatLonPointor tuple (latitude,longitude), in degrees, or tuple (x,y,z)) – the point geometrypoint_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 geometryif this property value contains a geometry.get_point()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: PointOnSphere
-
set_point(point)¶ Sets the point geometry of this property value.
Parameters: point ( PointOnSphereorLatLonPointor tuple (latitude,longitude), in degrees, or tuple (x,y,z)) – the point geometry
-