pygplates.GpmlTopologicalNetwork¶
-
class
pygplates.GpmlTopologicalNetwork¶ Bases:
pygplates.PropertyValueA topological deforming network that is resolved from boundary topological sections and interior geometries.
Note
If an interior geometry is a polygon then it becomes an interior rigid block.
New in version 21.
-
__init__(boundary_sections[, interiors=None])¶ Create a topological network made from boundary topological sections and interior geometries.
Parameters: - boundary_sections (Any sequence such as a
listor atuple) – A sequence ofGpmlTopologicalSectionelements - interiors (Any sequence such as a
listor atuple) – A sequence ofGpmlPropertyDelegateelements
topological_network = pygplates.GpmlTopologicalNetwork(boundary_sections, interiors)
- boundary_sections (Any sequence such as a
Methods
__init__(boundary_sections, [interiors=None])Create a topological network made from boundary topological sections and interior geometries. 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_boundary_sections()Returns the boundary sectionsin a sequence that behaves as a pythonlist.get_geometry()Extracts the geometryif this property value contains a geometry.get_interiors()Returns the interior geometriesin a sequence that behaves as a pythonlist.get_value([time=0])Extracts the value, of this possibly time-dependent property value, at the reconstruction time. -
get_boundary_sections()¶ Returns the
boundary sectionsin a sequence that behaves as a pythonlist.Return type: GpmlTopologicalSectionListModifying the returned sequence will modify the internal state of the GpmlTopologicalNetwork instance:
boundary_sections = topological_network.get_boundary_sections() # Append a section boundary_sections.append(pygplates.GpmlTopologicalLineSection(...))
-
get_interiors()¶ Returns the
interior geometriesin a sequence that behaves as a pythonlist.Return type: GpmlPropertyDelegateListModifying the returned sequence will modify the internal state of the GpmlTopologicalNetwork instance:
interiors = topological_network.get_interiors() # Append an interior interiors.append(pygplates.GpmlPropertyDelegate(...))
-