Base class for geometric elements. More...
#include <arcane/geometry/GeomElement.h>
Public Member Functions | |
| GeomElementBase () | |
| Empty constructor. | |
| GeomElementBase (const VariableNodeReal3 &coords, ItemWithNodes item) | |
| Constructor from the coordinates coords of the nodes of the entity item. | |
| GeomElementBase (Real3ConstArrayView coords) | |
| Constructor from the coordinates coords. | |
| const Real3 | s (Integer i) const |
| Retrieves the value of the i-th node. | |
| const Real3 | operator[] (Integer i) const |
| Retrieves the value of the i-th node. | |
| void | setItem (Integer i, const Real3 &v) |
| Positions the value of the i-th node at v. | |
| void | setItem (Integer i, Real x, Real y, Real z) |
| Positions the value of the i-th node at Real3(x,y,z). | |
| void | fillView (Real3ArrayView view) const |
| Fills the view view with the coordinates of the instance. | |
| void | init (const VariableNodeReal3 &coords, ItemWithNodes item) |
| Initializes the coordinates with those of the nodes of the entity item. | |
Protected Attributes | |
| Real3POD | m_s [NbNode] |
Base class for geometric elements.
A geometric element contains the coordinates of the NbNode nodes that compose this element.
For performance reasons, the default constructor does not initialize the coordinates.
To retrieve the coordinates of the i-th node of the geometric element, simply use the [] operator. Modification is done via setItem().
Definition at line 44 of file src/arcane/geometry/GeomElement.h.
|
inline |
Empty constructor.
Definition at line 49 of file src/arcane/geometry/GeomElement.h.
Referenced by Arcane::geometric::Triangle3Element::view().
|
inline |
Constructor from the coordinates coords of the nodes of the entity item.
Definition at line 51 of file src/arcane/geometry/GeomElement.h.
References init().
|
inline |
Constructor from the coordinates coords.
Definition at line 56 of file src/arcane/geometry/GeomElement.h.
References setItem().
|
inline |
Fills the view view with the coordinates of the instance.
Definition at line 74 of file src/arcane/geometry/GeomElement.h.
|
inline |
Initializes the coordinates with those of the nodes of the entity item.
Definition at line 83 of file src/arcane/geometry/GeomElement.h.
Referenced by GeomElementBase().
|
inline |
Retrieves the value of the i-th node.
Definition at line 65 of file src/arcane/geometry/GeomElement.h.
|
inline |
Retrieves the value of the i-th node.
Definition at line 63 of file src/arcane/geometry/GeomElement.h.
|
inline |
Positions the value of the i-th node at v.
Definition at line 67 of file src/arcane/geometry/GeomElement.h.
Referenced by GeomElementBase().
|
inline |
Positions the value of the i-th node at Real3(x,y,z).
Definition at line 69 of file src/arcane/geometry/GeomElement.h.
|
protected |
Definition at line 91 of file src/arcane/geometry/GeomElement.h.