pygplates.TopologyPointLocation

class pygplates.TopologyPointLocation

Bases: Boost.Python.instance

Locates a point in a specific resolved topological boundary or network (deforming region or interior rigid block).

New in version 0.29.

__init__()

Raises an exception This class cannot be instantiated from Python

Methods

__init__

Raises an exception This class cannot be instantiated from Python

located_in_resolved_boundary()

Query if point is located in a resolved topological boundary.

located_in_resolved_network()

Query if point is located in a resolved topological network.

located_in_resolved_network_deforming_region()

Query if point is located in the deforming region of a resolved topological network.

located_in_resolved_network_rigid_block()

Query if point is located in an interior rigid block of a resolved topological network.

not_located_in_resolved_topology()

Query if point is not located in any resolved topological boundaries or networks.

located_in_resolved_boundary()

Query if point is located in a resolved topological boundary.

Returns

the resolved topological boundary that contains the point, otherwise None

Return type

ResolvedTopologicalBoundary or None

located_in_resolved_network()

Query if point is located in a resolved topological network.

Returns

the resolved topological network that contains the point, otherwise None

Return type

ResolvedTopologicalNetwork or None

Note

The point can be anywhere inside a resolved topological network - inside its deforming region or inside any one of its interior rigid blocks (if it has any).

located_in_resolved_network_deforming_region()

Query if point is located in the deforming region of a resolved topological network.

Returns

the resolved topological network whose deforming region contains the point, otherwise None

Return type

ResolvedTopologicalNetwork or None

Note

Returns None if point is inside a resolved topological network but is also inside one of its interior rigid blocks (and hence not inside its deforming region).

located_in_resolved_network_rigid_block()

Query if point is located in an interior rigid block of a resolved topological network.

Returns

tuple of resolved topological network and its interior rigid block (that contains the point), otherwise None

Return type

2-tuple (ResolvedTopologicalNetwork, ReconstructedFeatureGeometry), or None

Note

Returns None if point is inside a resolved topological network but is not inside one of its interior rigid blocks.

not_located_in_resolved_topology()

Query if point is not located in any resolved topological boundaries or networks.

Returns

True if point is not located in any resolved topologies

Return type

bool