Class used to store an edge inside a GeometricElt.
More...
#include <OrientedEdge.hpp>
|
using | shared_ptr = std::shared_ptr<OrientedEdge> |
| Alias to shared pointer.
|
|
using | vector_shared_ptr = std::vector<shared_ptr> |
| Alias to vector of shared_pointer.
|
|
|
static const std::string & | ClassName () |
| Name of the class.
|
|
static constexpr InterfaceNS::Nature | StaticNature () noexcept |
| Nature of the Interface as a static method.
|
|
|
UnorientedInterfaceT::shared_ptr | unoriented_interface_ |
| Underlying unoriented object.
|
|
const std::size_t | orientation_ |
| Orientation.
|
|
Class used to store an edge inside a GeometricElt.
An Edge may be shared among several GeometricElt, but their orientation might differ inside each of the GeometricElt. The purpose of the current object is therefore to store two information:
- A shared pointer to an Edge.
- An integer that gives the orientation.
◆ OrientedEdge() [1/3]
template<Concept::TopologyIndexedSectionDescriptionType TopologyIndexedSectionDescriptionT>
MoReFEM::OrientedEdge::OrientedEdge |
( |
const Edge::shared_ptr & | edge, |
|
|
const Coords::vector_shared_ptr & | coords_list_in_geom_elt, |
|
|
std::size_t | local_edge_index, |
|
|
TopologyIndexedSectionDescriptionT | topology_token ) |
|
explicit |
Constructor.
- Parameters
-
[in] | edge | Edge before any orientation is applied. |
[in] | local_edge_index | Index of the edge in the local (topology) element; between 0 and Nedge - 1. |
[in] | coords_list_in_geom_elt | List of Coords relared to the considered GeometricElt. |
- Parameters
-
[in] | topology_token | A token there for a C++ trick to enable a template argument in a constructor without making the whole class a templated one. The argument itself is not used: it is its type that matters. Said type must be an instantiation of Utilities::Type2Type class - to enable to call it without actually instantiating an object. The template parameter given to this class is expected to fulfill the Concept::TopologyTraitsClass concept. |
◆ OrientedEdge() [2/3]
MoReFEM::OrientedEdge::OrientedEdge |
( |
const OrientedEdge & | rhs | ) |
|
|
delete |
The copy constructor.
- Parameters
-
[in] | rhs | The object from which the construction occurs. |
◆ OrientedEdge() [3/3]
The move constructor.
- Parameters
-
[in] | rhs | The object from which the construction occurs. |
◆ operator=() [1/2]
The (copy) operator=.
- Parameters
-
[in] | rhs | The object from which the affectation occurs. |
- Returns
- Reference to the object (to enable chained affectation).
◆ operator=() [2/2]
The (move) operator=.
- Parameters
-
[in] | rhs | The object from which the affectation occurs. |
- Returns
- Reference to the object (to enable chained affectation).
◆ GetCoordsList()
Return the list of Coords that delimit the interface.
[internal]
Orientation unused here; accessible for metaprogramming purposes.
- Returns
- List of Coords that delimit the interface.
◆ Print()
Print the underlying coords list and the orientation.
- Parameters
-
[in,out] | stream | Stream upon which object information are written. |
The documentation for this class was generated from the following file:
- /builds/2mk6rsew/0/MoReFEM/CoreLibrary/MoReFEM/Sources/Geometry/Interfaces/Instances/OrientedEdge.hpp