Static Public Member Functions | |
| static meshlib.Box1f | fromMinAndSize (float min, float size) |
| static boolean | getMinBoxCorner (float n) |
| static boolean | getMaxBoxCorner (float n) |
| static int | elements () |
| static meshlib.SimpleVolumeMinMax | staticDowncastFromSimpleVolume (meshlib.SimpleVolume object) |
| static meshlib.SimpleVolumeMinMax | staticDowncastFromBox1f (meshlib.Box1f object) |
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) | |
represents a box in 3D space subdivided on voxels stored in T; and stores minimum and maximum values among all valid voxels Generated from class MR::SimpleVolumeMinMax. Base classes: Direct: (non-virtual) MR::SimpleVolume MR::Box1f
Instances created here own their C++ objects, see CppObject.
| meshlib.SimpleVolumeMinMax.SimpleVolumeMinMax | ( | 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.SimpleVolumeMinMax.SimpleVolumeMinMax | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SimpleVolumeMinMax_DefaultConstruct().
| meshlib.SimpleVolumeMinMax.SimpleVolumeMinMax | ( | meshlib.SimpleVolumeMinMax | _other | ) |
Generated from constructor MR::SimpleVolumeMinMax::SimpleVolumeMinMax. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SimpleVolumeMinMax_ConstructFromAnother().
| meshlib.SimpleVolumeMinMax meshlib.SimpleVolumeMinMax.assignFromAnother | ( | meshlib.SimpleVolumeMinMax | _other | ) |
Generated from method MR::SimpleVolumeMinMax::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SimpleVolumeMinMax_AssignFromAnother().
| float meshlib.SimpleVolumeMinMax.center | ( | ) |
computes center of the box Generated from method MR::SimpleVolumeMinMax::center.
Calls MR_SimpleVolumeMinMax_center().
| float meshlib.SimpleVolumeMinMax.corner | ( | boolean | c | ) |
returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR::SimpleVolumeMinMax::corner.
Calls MR_SimpleVolumeMinMax_corner().
| meshlib.VoxelScalars meshlib.SimpleVolumeMinMax.data | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named data. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolumeMinMax_Get_data().
| float meshlib.SimpleVolumeMinMax.diagonal | ( | ) |
computes length from min to max Generated from method MR::SimpleVolumeMinMax::diagonal.
Calls MR_SimpleVolumeMinMax_diagonal().
| meshlib.Vector3i meshlib.SimpleVolumeMinMax.dims | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named dims. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolumeMinMax_Get_dims().
|
static |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named elements.
Calls MR_SimpleVolumeMinMax_Get_elements().
| meshlib.Box1f meshlib.SimpleVolumeMinMax.expanded | ( | float | expansion | ) |
decreases min and increased max on given value Generated from method MR::SimpleVolumeMinMax::expanded.
Calls MR_SimpleVolumeMinMax_expanded().
|
static |
Generated from method MR::SimpleVolumeMinMax::fromMinAndSize.
Calls MR_SimpleVolumeMinMax_fromMinAndSize().
| float meshlib.SimpleVolumeMinMax.getBoxClosestPointTo | ( | float | pt | ) |
returns closest point in the box to given point Generated from method MR::SimpleVolumeMinMax::getBoxClosestPointTo.
Calls MR_SimpleVolumeMinMax_getBoxClosestPointTo().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR::SimpleVolumeMinMax::getMaxBoxCorner.
Calls MR_SimpleVolumeMinMax_getMaxBoxCorner().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR::SimpleVolumeMinMax::getMinBoxCorner.
Calls MR_SimpleVolumeMinMax_getMinBoxCorner().
| float meshlib.SimpleVolumeMinMax.getProjection | ( | float | pt | ) |
returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR::SimpleVolumeMinMax::getProjection.
Calls MR_SimpleVolumeMinMax_getProjection().
| long meshlib.SimpleVolumeMinMax.heapBytes | ( | ) |
Generated from method MR::SimpleVolumeMinMax::heapBytes.
Calls MR_SimpleVolumeMinMax_heapBytes().
| meshlib.Box1f meshlib.SimpleVolumeMinMax.insignificantlyExpanded | ( | ) |
decreases min and increases max to their closest representable value Generated from method MR::SimpleVolumeMinMax::insignificantlyExpanded.
Calls MR_SimpleVolumeMinMax_insignificantlyExpanded().
| meshlib.Box1f meshlib.SimpleVolumeMinMax.intersect | ( | meshlib.Box1f | b | ) |
Generated from method MR::SimpleVolumeMinMax::intersect.
Calls MR_SimpleVolumeMinMax_intersect().
| meshlib.Box1f meshlib.SimpleVolumeMinMax.intersection | ( | meshlib.Box1f | b | ) |
computes intersection between this and other box Generated from method MR::SimpleVolumeMinMax::intersection.
Calls MR_SimpleVolumeMinMax_intersection().
| boolean meshlib.SimpleVolumeMinMax.intersects | ( | meshlib.Box1f | b | ) |
checks whether this box intersects or touches given box Generated from method MR::SimpleVolumeMinMax::intersects.
Calls MR_SimpleVolumeMinMax_intersects().
| float meshlib.SimpleVolumeMinMax.max | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named max. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolumeMinMax_Get_max().
| float meshlib.SimpleVolumeMinMax.min | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named min. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolumeMinMax_Get_min().
| boolean meshlib.SimpleVolumeMinMax.opEqual | ( | meshlib.Box1f | a | ) |
Generated from method MR::SimpleVolumeMinMax::operator==.
Calls MR_equal_MR_SimpleVolumeMinMax_MR_Box1f().
| boolean meshlib.SimpleVolumeMinMax.opNotEqual | ( | meshlib.Box1f | a | ) |
Generated from method MR::SimpleVolumeMinMax::operator!=.
Calls MR_not_equal_MR_SimpleVolumeMinMax_MR_Box1f().
| void meshlib.SimpleVolumeMinMax.setData | ( | meshlib.VoxelScalars | value | ) |
Modifies a member variable of class MR::SimpleVolumeMinMax named data. The reference to the parameter value might be preserved in this object in element data.
Calls MR_SimpleVolumeMinMax_Set_data().
| void meshlib.SimpleVolumeMinMax.setDims | ( | meshlib.Vector3i | value | ) |
Modifies a member variable of class MR::SimpleVolumeMinMax named dims. The reference to the parameter value might be preserved in this object in element dims.
Calls MR_SimpleVolumeMinMax_Set_dims().
| void meshlib.SimpleVolumeMinMax.setMax | ( | float | value | ) |
Modifies a member variable of class MR::SimpleVolumeMinMax named max.
Calls MR_SimpleVolumeMinMax_Set_max().
| void meshlib.SimpleVolumeMinMax.setMin | ( | float | value | ) |
Modifies a member variable of class MR::SimpleVolumeMinMax named min.
Calls MR_SimpleVolumeMinMax_Set_min().
| void meshlib.SimpleVolumeMinMax.setVoxelSize | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::SimpleVolumeMinMax named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.
Calls MR_SimpleVolumeMinMax_Set_voxelSize().
| float meshlib.SimpleVolumeMinMax.size | ( | ) |
computes size of the box in all dimensions Generated from method MR::SimpleVolumeMinMax::size.
Calls MR_SimpleVolumeMinMax_size().
|
static |
Static downcast from the base class MR::Box1f. Undefined behavior if the object isn't actually a SimpleVolumeMinMax. The result refers to object.
Calls MR_SimpleVolumeMinMax_MutableStaticDowncastFrom_MR_Box1f().
|
static |
Static downcast from the base class MR::SimpleVolume. Undefined behavior if the object isn't actually a SimpleVolumeMinMax. The result refers to object.
Calls MR_SimpleVolumeMinMax_MutableStaticDowncastFrom_MR_SimpleVolume().
| meshlib.Box1f meshlib.SimpleVolumeMinMax.upcastToBox1f | ( | ) |
Upcasts to the base class MR::Box1f. The result refers to this object.
Calls MR_SimpleVolumeMinMax_MutableUpcastTo_MR_Box1f().
| meshlib.SimpleVolume meshlib.SimpleVolumeMinMax.upcastToSimpleVolume | ( | ) |
Upcasts to the base class MR::SimpleVolume. The result refers to this object.
Calls MR_SimpleVolumeMinMax_MutableUpcastTo_MR_SimpleVolume().
| boolean meshlib.SimpleVolumeMinMax.valid | ( | ) |
true if the box contains at least one point Generated from method MR::SimpleVolumeMinMax::valid.
Calls MR_SimpleVolumeMinMax_valid().
| float meshlib.SimpleVolumeMinMax.volume | ( | ) |
computes the volume of this box Generated from method MR::SimpleVolumeMinMax::volume.
Calls MR_SimpleVolumeMinMax_volume().
| meshlib.Vector3f meshlib.SimpleVolumeMinMax.voxelSize | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMax named voxelSize. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolumeMinMax_Get_voxelSize().