Arcane  4.2.3.0
User documentation
Loading...
Searching...
No Matches
Arcane::geometric::Triangle3ElementView Class Reference

Modifiable view on geometric elements of type GeomType::Triangle3. More...

#include <arcane/geometry/GeomElementView.h>

Public Types

using ConstViewType = Triangle3ElementConstView

Public Member Functions

constexpr Triangle3ElementView (ARCANE_RESTRICT Real3POD *ptr)
 Construct a view from the coordinates passed as arguments.
constexpr void init (const Real3 &a0, const Real3 &a1, const Real3 &a2)
 Initializes the view with the coordinates passed as arguments.
constexpr operator Triangle3ElementConstView () const
 Conversion operator to a constant view.
constexpr Triangle3ElementConstView constView () const
 Constant view on the element.
Public Member Functions inherited from Arcane::geometric::GeomElementViewBase
constexpr GeomElementViewBase (ARCANE_RESTRICT Real3POD *ptr)
constexpr const Real3 operator[] (Integer i) const
 Retrieves the value of the i-th node.
constexpr void setValue (Integer i, Real3 v)
 Sets the value of the i-th node to v.

Additional Inherited Members

Protected Attributes inherited from Arcane::geometric::GeomElementViewBase
ARCANE_RESTRICT Real3POD * m_s = nullptr

Detailed Description

Modifiable view on geometric elements of type GeomType::Triangle3.

It is possible to retrieve a view of this type via:

For more information on usage, refer to arcanedoc_cea_geometric_viewusage.

Definition at line 38 of file GeomElementView.h.

Member Typedef Documentation

◆ ConstViewType

using Arcane::geometric::Triangle3ElementView::ConstViewType = Triangle3ElementConstView

Definition at line 43 of file GeomElementView.h.

Constructor & Destructor Documentation

◆ Triangle3ElementView()

Arcane::geometric::Triangle3ElementView::Triangle3ElementView ( ARCANE_RESTRICT Real3POD * ptr)
inlineconstexpr

Construct a view from the coordinates passed as arguments.

Definition at line 48 of file GeomElementView.h.

Member Function Documentation

◆ constView()

Triangle3ElementConstView Arcane::geometric::Triangle3ElementView::constView ( ) const
inlineconstexpr

Constant view on the element.

Definition at line 60 of file GeomElementView.h.

◆ init()

void Arcane::geometric::Triangle3ElementView::init ( const Real3 & a0,
const Real3 & a1,
const Real3 & a2 )
inlineconstexpr

Initializes the view with the coordinates passed as arguments.

Definition at line 51 of file GeomElementView.h.

◆ operator Triangle3ElementConstView()

Arcane::geometric::Triangle3ElementView::operator Triangle3ElementConstView ( ) const
inlineconstexpr

Conversion operator to a constant view.

Definition at line 58 of file GeomElementView.h.


The documentation for this class was generated from the following file: