pygplates.GmlOrientableCurve

class pygplates.GmlOrientableCurve

Bases: pygplates.PropertyValue

A property value representing a polyline geometry with a positive or negative orientation. However, currently the orientation is always positive so this is essentially no different than a GmlLineString.

__init__(gml_line_string)

Create an orientable polyline property value that wraps a polyline geometry and gives it an orientation.

Parameters

gml_line_string (GmlLineString) – the line string (polyline) property value

orientable_curve_property = pygplates.GmlOrientableCurve(gml_line_string)

Note

Currently the orientation is always positive so this is essentially no different than a GmlLineString.

Methods

__init__(gml_line_string)

Create an orientable polyline property value that wraps a polyline geometry and gives it an orientation.

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_base_curve()

Returns the line string (polyline) property value of this wrapped property value.

get_geometry()

Extracts the geometry if this property value contains a geometry.

get_value([time=0])

Extracts the value, of this possibly time-dependent property value, at the reconstruction time.

set_base_curve(base_curve)

Sets the line string (polyline) property value of this wrapped property value.

get_base_curve()

Returns the line string (polyline) property value of this wrapped property value.

Return type

GmlLineString

set_base_curve(base_curve)

Sets the line string (polyline) property value of this wrapped property value.

Parameters

base_curve (GmlLineString) – the line string (polyline) property value