pygplates.GpmlTopologicalNetwork

class pygplates.GpmlTopologicalNetwork

Bases: pygplates.PropertyValue

A 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 0.21.

__init__(boundary_sections[, interiors=None])

Create a topological network made from boundary topological sections and interior geometries.

Parameters
topological_network = pygplates.GpmlTopologicalNetwork(boundary_sections, interiors)

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 sections in a sequence that behaves as a python list.

get_geometry()

Extracts the geometry if this property value contains a geometry.

get_interiors()

Returns the interior geometries in a sequence that behaves as a python list.

get_value([time=0])

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

get_boundary_sections()

Returns the boundary sections in a sequence that behaves as a python list.

Return type

GpmlTopologicalSectionList

Modifying 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 geometries in a sequence that behaves as a python list.

Return type

GpmlPropertyDelegateList

Modifying the returned sequence will modify the internal state of the GpmlTopologicalNetwork instance:

interiors = topological_network.get_interiors()

# Append an interior
interiors.append(pygplates.GpmlPropertyDelegate(...))