Skip to content

Project OpenGeode-Geosciences

class StratigraphicRelationships

This class stores the relations between a set of geological components. Each relationship links two components, one being above the other in the stratigraphy. Components should be added through their uuids.

Functions

StratigraphicRelationships

cpp
public void StratigraphicRelationships()
public void StratigraphicRelationships()

~StratigraphicRelationships

cpp
public void ~StratigraphicRelationships()
public void ~StratigraphicRelationships()

is_above

cpp
public bool is_above(const uuid & above, const uuid & under)
public bool is_above(const uuid & above, const uuid & under)

above

cpp
public std::optional<uuid> above(const uuid & element)
public std::optional<uuid> above(const uuid & element)

under

cpp
public std::optional<uuid> under(const uuid & element)
public std::optional<uuid> under(const uuid & element)

save_stratigraphic_relationships

cpp
public void save_stratigraphic_relationships(basic_string_view directory)
public void save_stratigraphic_relationships(basic_string_view directory)

remove_component

cpp
public void remove_component(const uuid & id, StratigraphicRelationshipsBuilderKey )
public void remove_component(const uuid & id, StratigraphicRelationshipsBuilderKey )

Remove a component and all its associated relationships

id [in] Unique index of the component to remove

add_above_relation

cpp
public index_t add_above_relation(const ComponentID & above, const ComponentID & under, StratigraphicRelationshipsBuilderKey )
public index_t add_above_relation(const ComponentID & above, const ComponentID & under, StratigraphicRelationshipsBuilderKey )

Adds a new relationship of type above-under between two components

add_erosion_relation

cpp
public index_t add_erosion_relation(const ComponentID & erosion, const ComponentID & eroded, StratigraphicRelationshipsBuilderKey )
public index_t add_erosion_relation(const ComponentID & erosion, const ComponentID & eroded, StratigraphicRelationshipsBuilderKey )

add_baselap_relation

cpp
public index_t add_baselap_relation(const ComponentID & baselap_top, const ComponentID & baselap, StratigraphicRelationshipsBuilderKey )
public index_t add_baselap_relation(const ComponentID & baselap_top, const ComponentID & baselap, StratigraphicRelationshipsBuilderKey )

remove_relation

cpp
public void remove_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )
public void remove_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )

Remove all relations between two components

remove_above_relation

cpp
public void remove_above_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )
public void remove_above_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )

Removes any above/under relationship between two components

remove_unconformity_relation

cpp
public void remove_unconformity_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )
public void remove_unconformity_relation(const uuid & id1, const uuid & id2, StratigraphicRelationshipsBuilderKey )

Removes any unconformity relationship between two components

copy_stratigraphic_relationships

cpp
public void copy_stratigraphic_relationships(const ModelCopyMapping & mapping, const StratigraphicRelationships & relationships, StratigraphicRelationshipsBuilderKey )
public void copy_stratigraphic_relationships(const ModelCopyMapping & mapping, const StratigraphicRelationships & relationships, StratigraphicRelationshipsBuilderKey )

load_stratigraphic_relationships

cpp
public void load_stratigraphic_relationships(basic_string_view directory, StratigraphicRelationshipsBuilderKey )
public void load_stratigraphic_relationships(basic_string_view directory, StratigraphicRelationshipsBuilderKey )

StratigraphicRelationships

cpp
protected void StratigraphicRelationships(StratigraphicRelationships && other)
protected void StratigraphicRelationships(StratigraphicRelationships && other)

operator=

cpp
protected StratigraphicRelationships & operator=(StratigraphicRelationships && other)
protected StratigraphicRelationships & operator=(StratigraphicRelationships && other)

is_eroded_by

cpp
protected bool is_eroded_by(const uuid & eroded, const uuid & erosion)
protected bool is_eroded_by(const uuid & eroded, const uuid & erosion)

is_baselap_of

cpp
protected bool is_baselap_of(const uuid & baselap, const uuid & baselap_top)
protected bool is_baselap_of(const uuid & baselap, const uuid & baselap_top)

Geode-solutions' documentation website