12#ifndef ARCANE_GEOMETRIC_GEOMELEMENTVIEW_H
13#define ARCANE_GEOMETRIC_GEOMELEMENTVIEW_H
17#include "arcane/utils/Real3.h"
19#include "arcane/geometry/GeometricGlobal.h"
24namespace Arcane::geometric
37class GeomElementConstViewBase
50 return Real3(m_s[i].x, m_s[i].y, m_s[i].z);
60 return Real3(m_s[i].x, m_s[i].y, m_s[i].z);
65 ARCANE_RESTRICT
const Real3POD* m_s =
nullptr;
78class GeomElementViewBase
91 return Real3(m_s[i].x, m_s[i].y, m_s[i].z);
104 ARCANE_RESTRICT
Real3POD* m_s =
nullptr;
110#include "arcane/geometry/GeneratedGeomElementView.h"
Class managing a 3-dimensional real vector.
Base class for constant views on geometric elements.
constexpr const Real3 operator[](Integer i) const
Retrieves the value of the i-th node.
constexpr const Real3 s(Integer i) const
Retrieves the value of the i-th node.
Base class for modifiable views on geometric elements.
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.
Int32 Integer
Type representing an integer.
Real y
second component of the triplet
Real z
third component of the triplet
Real x
first component of the triplet