Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::mesh_components::ComponentsFaces) -> &mut meshlib::mesh_components::ComponentsFaces |
| void | set_component_bits (compId:meshlib::RegionId, bs:&mut meshlib::FaceBitSet) const |
| auto | faces () const -> &meshlib::std_vector_MR_FaceId |
| auto | faces_mut () -> &mut meshlib::std_vector_MR_FaceId |
| void | set_faces (value:&meshlib::std_vector_MR_FaceId) |
| auto | offsets () const -> &meshlib::Vector_int_MR_RegionId |
| auto | offsets_mut () -> &mut meshlib::Vector_int_MR_RegionId |
| void | set_offsets (value:&meshlib::Vector_int_MR_RegionId) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::mesh_components::ComponentsFaces > |
| static auto | construct_from (faces:&meshlib::std_vector_MR_FaceId, offsets:&meshlib::Vector_int_MR_RegionId) -> meshlib::Owned< meshlib::mesh_components::ComponentsFaces > |
| static auto | construct_from_another (_other:&meshlib::mesh_components::ComponentsFaces) -> meshlib::Owned< meshlib::mesh_components::ComponentsFaces > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
faces of all components in one flat array Generated from class MR::MeshComponents::ComponentsFaces.
Generated from class MR::MeshComponents::ComponentsFaces. Heap-allocated instances are held in Owned<ComponentsFaces>.
| auto meshlib::mesh_components::ComponentsFaces::assign_from_another | ( | _other:&meshlib::mesh_components::ComponentsFaces | ) | -> &mut meshlib::mesh_components::ComponentsFaces |
Generated from method MR::MeshComponents::ComponentsFaces::operator=.
Calls MR_MeshComponents_ComponentsFaces_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MeshComponents::ComponentsFaces elementwise.
Calls MR_MeshComponents_ComponentsFaces_ConstructFrom(). The reference to the parameter faces might be preserved in the constructed object. The reference to the parameter offsets might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshComponents::ComponentsFaces::ComponentsFaces.
Calls MR_MeshComponents_ComponentsFaces_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::mesh_components::ComponentsFaces::faces | ( | ) | const -> &meshlib::std_vector_MR_FaceId |
faces of component 0, then faces of component 1, ...; the faces of component i are faces[offsets[i]], ..., faces[offsets[i+1]-1] in increasing order Returns a pointer to a member variable of class MR::MeshComponents::ComponentsFaces named faces.
Calls MR_MeshComponents_ComponentsFaces_Get_faces(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ComponentsFaces::faces_mut | ( | ) | -> &mut meshlib::std_vector_MR_FaceId |
faces of component 0, then faces of component 1, ...; the faces of component i are faces[offsets[i]], ..., faces[offsets[i+1]-1] in increasing order Returns a mutable pointer to a member variable of class MR::MeshComponents::ComponentsFaces named faces.
Calls MR_MeshComponents_ComponentsFaces_GetMutable_faces(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshComponents_ComponentsFaces_DefaultConstruct().
| auto meshlib::mesh_components::ComponentsFaces::offsets | ( | ) | const -> &meshlib::Vector_int_MR_RegionId |
< the number of components + 1 elements, offsets.back() == faces.size() Returns a pointer to a member variable of class MR::MeshComponents::ComponentsFaces named offsets.
Calls MR_MeshComponents_ComponentsFaces_Get_offsets(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ComponentsFaces::offsets_mut | ( | ) | -> &mut meshlib::Vector_int_MR_RegionId |
< the number of components + 1 elements, offsets.back() == faces.size() Returns a mutable pointer to a member variable of class MR::MeshComponents::ComponentsFaces named offsets.
Calls MR_MeshComponents_ComponentsFaces_GetMutable_offsets(). The reference to this object might be preserved as the return value.
| void meshlib::mesh_components::ComponentsFaces::set_component_bits | ( | compId:meshlib::RegionId | , |
| bs:&mut meshlib::FaceBitSet | ) const |
sets in given bit set the bits of all faces of component compId; bs must be large enough to contain them Generated from method MR::MeshComponents::ComponentsFaces::setComponentBits.
Calls MR_MeshComponents_ComponentsFaces_setComponentBits().
| void meshlib::mesh_components::ComponentsFaces::set_faces | ( | value:&meshlib::std_vector_MR_FaceId | ) |
faces of component 0, then faces of component 1, ...; the faces of component i are faces[offsets[i]], ..., faces[offsets[i+1]-1] in increasing order Modifies a member variable of class MR::MeshComponents::ComponentsFaces named faces.
Calls MR_MeshComponents_ComponentsFaces_Set_faces(). The reference to the parameter value might be preserved in this object in element faces.
| void meshlib::mesh_components::ComponentsFaces::set_offsets | ( | value:&meshlib::Vector_int_MR_RegionId | ) |
< the number of components + 1 elements, offsets.back() == faces.size() Modifies a member variable of class MR::MeshComponents::ComponentsFaces named offsets.
Calls MR_MeshComponents_ComponentsFaces_Set_offsets(). The reference to the parameter value might be preserved in this object in element offsets.