pygplates.GmlLineString¶
-
class
pygplates.GmlLineString¶ Bases:
pygplates.PropertyValueA property value representing a polyline geometry.
-
__init__(polyline)¶ Create a property value representing a polyline geometry.
Parameters: polyline ( PolylineOnSphere) – the polyline geometryline_string_property = pygplates.GmlLineString(polyline)
Methods
__init__(polyline)Create a property value representing a polyline 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_polyline()Returns the polyline geometry of this property value. get_value([time=0])Extracts the value, of this possibly time-dependent property value, at the reconstruction time. set_polyline(polyline)Sets the polyline geometry of this property value. -
get_polyline()¶ Returns the polyline geometry of this property value.
Return type: PolylineOnSphere
-
set_polyline(polyline)¶ Sets the polyline geometry of this property value.
Parameters: polyline ( PolylineOnSphere) – the polyline geometry
-