Public Member Functions | |
| VoxelLocation (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| VoxelLocation () | |
| VoxelLocation (meshlib.VoxelId id, meshlib.Vector3i pos) | |
| VoxelLocation (meshlib.VoxelLocation _other) | |
| boolean | convertTo_bool () |
| meshlib.VoxelLocation | assignFromAnother (meshlib.VoxelLocation _other) |
| meshlib.VoxelId | id () |
| void | setId (meshlib.VoxelId value) |
| meshlib.Vector3i | pos () |
| void | setPos (meshlib.Vector3i value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
contains both linear Id and 3D coordinates of the same voxel Generated from class MR::VoxelLocation.
Instances created here own their C++ objects, see CppObject.
| meshlib.VoxelLocation.VoxelLocation | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.VoxelLocation.VoxelLocation | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_VoxelLocation_DefaultConstruct().
| meshlib.VoxelLocation.VoxelLocation | ( | meshlib.VoxelId | id, |
| meshlib.Vector3i | pos ) |
Constructs MR::VoxelLocation elementwise. 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.
Calls MR_VoxelLocation_ConstructFrom().
| meshlib.VoxelLocation.VoxelLocation | ( | meshlib.VoxelLocation | _other | ) |
Generated from constructor MR::VoxelLocation::VoxelLocation. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_VoxelLocation_ConstructFromAnother().
| meshlib.VoxelLocation meshlib.VoxelLocation.assignFromAnother | ( | meshlib.VoxelLocation | _other | ) |
Generated from method MR::VoxelLocation::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_VoxelLocation_AssignFromAnother().
| boolean meshlib.VoxelLocation.convertTo_bool | ( | ) |
check for validity Generated from conversion operator MR::VoxelLocation::operator bool.
Calls MR_VoxelLocation_ConvertTo_bool().
| meshlib.VoxelId meshlib.VoxelLocation.id | ( | ) |
Returns a pointer to a member variable of class MR::VoxelLocation named id. The reference to this object might be preserved as the return value.
Calls MR_VoxelLocation_Get_id().
| meshlib.Vector3i meshlib.VoxelLocation.pos | ( | ) |
Returns a pointer to a member variable of class MR::VoxelLocation named pos. The reference to this object might be preserved as the return value.
Calls MR_VoxelLocation_Get_pos().
| void meshlib.VoxelLocation.setId | ( | meshlib.VoxelId | value | ) |
Modifies a member variable of class MR::VoxelLocation named id. The reference to the parameter value might be preserved in this object in element id.
Calls MR_VoxelLocation_Set_id().
| void meshlib.VoxelLocation.setPos | ( | meshlib.Vector3i | value | ) |
Modifies a member variable of class MR::VoxelLocation named pos. The reference to the parameter value might be preserved in this object in element pos.
Calls MR_VoxelLocation_Set_pos().