Geometric shape. More...
#include <arcane/geometry/GeomShape.h>
Public Member Functions | |
| GeomShapeMutableView | toMutableView () |
| Modifiable view of this instance. | |
| Hexaedron8ShapeView | initFromHexaedron8 (Hexaedron8ElementConstView hexa) |
| Initializes the shape with a hexahedron hexa and returns a view of it. | |
| Quad4ShapeView | initFromQuad4 (Quad4ElementConstView quad) |
| Initializes the shape with a quadrangle quad and returns a view of it. | |
Protected Member Functions | |
| void | _setArray (GeomShapeView &shape) |
Private Attributes | |
| Real3POD | m_node_ptr [ItemStaticInfo::MAX_CELL_NODE] |
| Real3POD | m_face_ptr [ItemStaticInfo::MAX_CELL_FACE] |
| Real3POD | m_center |
Friends | |
| class | GeomShapeView |
Geometric shape.
This class is only used to create a temporary geometric shape. For a geometric shape derived from a cell, you must go through the GeomShapeMng.
An instance of this class allows storing the information necessary for a geometric shape.
It is possible to directly initialize a geometric shape from a hexahedron (initFromHexaedron8()) or a quadrangle (initFromQuad4()). These methods initialize the shape and return a view of it.
Definition at line 52 of file src/arcane/geometry/GeomShape.h.
|
inlineprotected |
Definition at line 74 of file src/arcane/geometry/GeomShape.h.
| Hexaedron8ShapeView Arcane::geometric::GeomShape::initFromHexaedron8 | ( | Hexaedron8ElementConstView | hexa | ) |
Initializes the shape with a hexahedron hexa and returns a view of it.
Definition at line 519 of file GeomShapeView.cc.
References Arcane::geometric::GeomShapeStdBuilder::computeNodePositionFromHexa(), and toMutableView().
| Quad4ShapeView Arcane::geometric::GeomShape::initFromQuad4 | ( | Quad4ElementConstView | quad | ) |
Initializes the shape with a quadrangle quad and returns a view of it.
Definition at line 538 of file GeomShapeView.cc.
References Arcane::geometric::GeomShapeStdBuilder::computeNodePositionFromQuad(), and toMutableView().
|
inline |
Modifiable view of this instance.
Definition at line 61 of file src/arcane/geometry/GeomShape.h.
Referenced by Arcane::geometric::GeomShapeView::initFromHexa(), initFromHexaedron8(), Arcane::geometric::GeomShapeView::initFromQuad(), and initFromQuad4().
|
friend |
Definition at line 56 of file src/arcane/geometry/GeomShape.h.
|
private |
Definition at line 83 of file src/arcane/geometry/GeomShape.h.
|
private |
Definition at line 82 of file src/arcane/geometry/GeomShape.h.
|
private |
Definition at line 81 of file src/arcane/geometry/GeomShape.h.