pygplates.GpmlPlateId

class pygplates.GpmlPlateId

Bases: pygplates.PropertyValue

A property value that represents a plate id. A plate id is an integer that identifies a particular tectonic plate and is typically used to look up a rotation in a ReconstructionTree.

__init__(plate_id)

Create a plate id property value from an integer plate id.

Parameters

plate_id (int) – integer plate id

plate_id_property = pygplates.GpmlPlateId(plate_id)

Methods

__init__(plate_id)

Create a plate id property value from an integer plate id.

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

Extracts the geometry if this property value contains a geometry.

get_plate_id()

Returns the integer plate id.

get_value([time=0])

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

set_plate_id(plate_id)

Sets the integer plate id.

get_plate_id()

Returns the integer plate id.

Return type

int

set_plate_id(plate_id)

Sets the integer plate id.

Parameters

plate_id (int) – integer plate id