pygplates.GpmlTopologicalLineSection

class pygplates.GpmlTopologicalLineSection

Bases: pygplates.GpmlTopologicalSection

A topological section referencing a line geometry.

New in version 21.

__init__(gpml_property_delegate, reverse_orientation)

Create a topological point section property value that references a feature property containing a line geometry.

Parameters:
  • gpml_property_delegate (GpmlPropertyDelegate) – the line (polyline) property value
  • reverse_orientation (bool) – whether the line was reversed when contributing to the parent topology
topological_line_section = pygplates.GpmlTopologicalLineSection(line_property_delegate, false)

Methods

__init__(gpml_property_delegate, …) Create a topological point section property value that references a feature property containing a line 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.
create(feature, [geometry_property_name], …) [staticmethod] Create a topological section referencing a feature geometry.
create_network_interior(feature, …) [staticmethod] Create a topological network interior referencing a feature geometry.
get_geometry() Extracts the geometry if this property value contains a geometry.
get_property_delegate() Returns the property value that references/delegates the source line geometry.
get_reverse_orientation() Returns True if the line was reversed when contributing to the parent topology.
get_value([time=0]) Extracts the value, of this possibly time-dependent property value, at the reconstruction time.
set_property_delegate(gpml_property_delegate) Sets the property value that references/delegates the source line geometry.
set_reverse_orientation(reverse_orientation) Sets the property value that references/delegates the source line geometry.
get_property_delegate()

Returns the property value that references/delegates the source line geometry.

Return type:GpmlPropertyDelegate
get_reverse_orientation()

Returns True if the line was reversed when contributing to the parent topology.

Return type:bool
set_property_delegate(gpml_property_delegate)

Sets the property value that references/delegates the source line geometry.

Parameters:gpml_property_delegate (GpmlPropertyDelegate) – the line (polyline) delegate property value
set_reverse_orientation(reverse_orientation)

Sets the property value that references/delegates the source line geometry.

Parameters:reverse_orientation (bool) – whether the line was reversed when contributing to the parent topology