Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::VoxelLocation) -> &mut meshlib::VoxelLocation |
| auto | id () const -> &meshlib::VoxelId |
| auto | id_mut () -> &mut meshlib::VoxelId |
| void | set_id (value:meshlib::VoxelId) |
| auto | pos () const -> &meshlib::Vector3i |
| auto | pos_mut () -> &mut meshlib::Vector3i |
| void | set_pos (value:meshlib::Vector3i) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VoxelLocation > |
| static auto | construct_from (id:meshlib::VoxelId, pos:meshlib::Vector3i) -> meshlib::Owned< meshlib::VoxelLocation > |
| static auto | construct_from_another (_other:&meshlib::VoxelLocation) -> meshlib::Owned< meshlib::VoxelLocation > |
| 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 |
contains both linear Id and 3D coordinates of the same voxel Generated from class MR::VoxelLocation.
Generated from class MR::VoxelLocation. Heap-allocated instances are held in Owned<VoxelLocation>.
| auto meshlib::VoxelLocation::assign_from_another | ( | _other:&meshlib::VoxelLocation | ) | -> &mut meshlib::VoxelLocation |
Generated from method MR::VoxelLocation::operator=.
Calls MR_VoxelLocation_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::VoxelLocation elementwise.
Calls MR_VoxelLocation_ConstructFrom(). The reference to the parameter id might be preserved in the constructed object. The reference to the parameter pos might be preserved in the constructed object.
|
static |
Generated from constructor MR::VoxelLocation::VoxelLocation.
Calls MR_VoxelLocation_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VoxelLocation::convert_to_bool | ( | ) | const -> bool |
check for validity Generated from conversion operator MR::VoxelLocation::operator bool.
Calls MR_VoxelLocation_ConvertTo_bool().
| auto meshlib::VoxelLocation::id | ( | ) | const -> &meshlib::VoxelId |
Returns a pointer to a member variable of class MR::VoxelLocation named id.
Calls MR_VoxelLocation_Get_id(). The reference to this object might be preserved as the return value.
| auto meshlib::VoxelLocation::id_mut | ( | ) | -> &mut meshlib::VoxelId |
Returns a mutable pointer to a member variable of class MR::VoxelLocation named id.
Calls MR_VoxelLocation_GetMutable_id(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_VoxelLocation_DefaultConstruct().
| auto meshlib::VoxelLocation::pos | ( | ) | const -> &meshlib::Vector3i |
Returns a pointer to a member variable of class MR::VoxelLocation named pos.
Calls MR_VoxelLocation_Get_pos(). The reference to this object might be preserved as the return value.
| auto meshlib::VoxelLocation::pos_mut | ( | ) | -> &mut meshlib::Vector3i |
Returns a mutable pointer to a member variable of class MR::VoxelLocation named pos.
Calls MR_VoxelLocation_GetMutable_pos(). The reference to this object might be preserved as the return value.
| void meshlib::VoxelLocation::set_id | ( | value:meshlib::VoxelId | ) |
Modifies a member variable of class MR::VoxelLocation named id.
Calls MR_VoxelLocation_Set_id(). The reference to the parameter value might be preserved in this object in element id.
| void meshlib::VoxelLocation::set_pos | ( | value:meshlib::Vector3i | ) |
Modifies a member variable of class MR::VoxelLocation named pos.
Calls MR_VoxelLocation_Set_pos(). The reference to the parameter value might be preserved in this object in element pos.