Service interface allowing the creation of a mesh with a section of another mesh.
More...
#include <arcane/core/IMeshSection.h>
|
|
virtual | ~IMeshSection ()=default |
| | Releases resources.
|
| virtual void | addPlane (const Real3 &p0, const Real3 &normal)=0 |
| | Method allowing to add a plane to the cut service. The use of these planes depends on the service.
|
| virtual void | setVariables (VariableCollection variables)=0 |
| | Method allowing to add a set of variables to copy on the new mesh.
|
| virtual VariableCollection | variables ()=0 |
| | Method allowing to get a set of variables copied on the new mesh.
|
| virtual void | setServiceMeshUniqueId (Int32 unique_id)=0 |
| | Method allowing to set a unique id allowing to create multiple section services for a mesh.
|
| virtual void | updateSection ()=0 |
| | Method allowing to update the mesh section with all planes.
|
| virtual MeshHandle | meshSection ()=0 |
| | Méthod allowing to get the mesh section.
|
Service interface allowing the creation of a mesh with a section of another mesh.
Definition at line 33 of file IMeshSection.h.
◆ addPlane()
| virtual void Arcane::IMeshSection::addPlane |
( |
const Real3 & | p0, |
|
|
const Real3 & | normal ) |
|
pure virtual |
Method allowing to add a plane to the cut service. The use of these planes depends on the service.
- Parameters
-
| p0 | Point of the plane. |
| normal | Normal of the plane. |
◆ meshSection()
| virtual MeshHandle Arcane::IMeshSection::meshSection |
( |
| ) |
|
|
pure virtual |
Méthod allowing to get the mesh section.
- Returns
- The mesh section.
◆ setServiceMeshUniqueId()
| virtual void Arcane::IMeshSection::setServiceMeshUniqueId |
( |
Int32 | unique_id | ) |
|
|
pure virtual |
Method allowing to set a unique id allowing to create multiple section services for a mesh.
- Parameters
-
| unique_id | Mesh unique id to apply. |
◆ setVariables()
Method allowing to add a set of variables to copy on the new mesh.
- Parameters
-
| variables | A set of variable on the original mesh. |
References variables().
◆ updateSection()
| virtual void Arcane::IMeshSection::updateSection |
( |
| ) |
|
|
pure virtual |
Method allowing to update the mesh section with all planes.
If a previous call has edited the mesh, all the cells will be destroyed before update.
◆ variables()
Method allowing to get a set of variables copied on the new mesh.
- Returns
- A set of variables on the cloned mesh.
Referenced by setVariables().
The documentation for this class was generated from the following file: