Initialize a geometry from a C++ geometry. Args: geometry: The C++ geometry object. Note: Geometry objects should usually be constructed with the :func:`create_geometry` and not using this class initializer. This class is combined wit
(self, geometry: _cpp.mesh.Geometry_float32 | _cpp.mesh.Geometry_float64)
| 279 | _cpp_object: _cpp.mesh.Geometry_float32 | _cpp.mesh.Geometry_float64 |
| 280 | |
| 281 | def __init__(self, geometry: _cpp.mesh.Geometry_float32 | _cpp.mesh.Geometry_float64): |
| 282 | """Initialize a geometry from a C++ geometry. |
| 283 | |
| 284 | Args: |
| 285 | geometry: The C++ geometry object. |
| 286 | |
| 287 | Note: |
| 288 | Geometry objects should usually be constructed with the |
| 289 | :func:`create_geometry` and not using this class |
| 290 | initializer. This class is combined with different base |
| 291 | classes that depend on the scalar type used in the Geometry. |
| 292 | """ |
| 293 | self._cpp_object = geometry |
| 294 | |
| 295 | @property |
| 296 | def cmaps(self) -> list[_CoordinateElement]: |
nothing calls this directly
no outgoing calls
no test coverage detected