Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::geometric::GeomShapeMutableView Class Reference

Mutable view on a GeomShape. More...

#include <arcane/geometry/GeomShapeMutableView.h>

Inheritance diagram for Arcane::geometric::GeomShapeMutableView:
Collaboration diagram for Arcane::geometric::GeomShapeMutableView:

Public Member Functions

const Real3 node (Integer id) const
const Real3 face (Integer id) const
const Real3 center () const
void setNode (Integer id, const Real3 &v)
void setFace (Integer id, const Real3 &v)
void setCenter (const Real3 &v)

Private Member Functions

 GeomShapeMutableView (Real3 *node_ptr, Real3 *face_ptr, Real3 *center_ptr)
void _setArray (Real3 *node_ptr, Real3 *face_ptr, Real3 *center_ptr)

Private Attributes

Real3m_node_ptr
Real3m_face_ptr
Real3m_center_ptr

Friends

class GeomShapeMng
class GeomShape

Detailed Description

Mutable view on a GeomShape.

An instance of this class allows modification of the coordinates of nodes, faces, and the center of a GeomShape.

To retrieve an instance of this object, you must call GeomShapeMng::mutableShapeView() or GeomShape::toMutableView().

Definition at line 49 of file src/arcane/geometry/GeomShapeMutableView.h.

Constructor & Destructor Documentation

◆ GeomShapeMutableView() [1/2]

Arcane::geometric::GeomShapeMutableView::GeomShapeMutableView ( )
inline

Definition at line 58 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ GeomShapeMutableView() [2/2]

Arcane::geometric::GeomShapeMutableView::GeomShapeMutableView ( Real3 * node_ptr,
Real3 * face_ptr,
Real3 * center_ptr )
inlineprivate

Definition at line 66 of file src/arcane/geometry/GeomShapeMutableView.h.

Member Function Documentation

◆ _setArray()

void Arcane::geometric::GeomShapeMutableView::_setArray ( Real3 * node_ptr,
Real3 * face_ptr,
Real3 * center_ptr )
inlineprivate

Definition at line 112 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ center()

const Real3 Arcane::geometric::GeomShapeMutableView::center ( ) const
inline

Definition at line 84 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ face()

const Real3 Arcane::geometric::GeomShapeMutableView::face ( Integer id) const
inline

Definition at line 79 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ node()

const Real3 Arcane::geometric::GeomShapeMutableView::node ( Integer id) const
inline

Definition at line 74 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ setCenter()

void Arcane::geometric::GeomShapeMutableView::setCenter ( const Real3 & v)
inline

Definition at line 99 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ setFace()

void Arcane::geometric::GeomShapeMutableView::setFace ( Integer id,
const Real3 & v )
inline

Definition at line 94 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ setNode()

void Arcane::geometric::GeomShapeMutableView::setNode ( Integer id,
const Real3 & v )
inline

Definition at line 89 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ GeomShape

friend class GeomShape
friend

Definition at line 54 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ GeomShapeMng

friend class GeomShapeMng
friend

Definition at line 53 of file src/arcane/geometry/GeomShapeMutableView.h.

Member Data Documentation

◆ m_center_ptr

Real3* Arcane::geometric::GeomShapeMutableView::m_center_ptr
private

Definition at line 108 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ m_face_ptr

Real3* Arcane::geometric::GeomShapeMutableView::m_face_ptr
private

Definition at line 107 of file src/arcane/geometry/GeomShapeMutableView.h.

◆ m_node_ptr

Real3* Arcane::geometric::GeomShapeMutableView::m_node_ptr
private

Definition at line 106 of file src/arcane/geometry/GeomShapeMutableView.h.


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