Static Public Member Functions | |
| static meshlib.Box_unsigned_short | fromMinAndSize (short min, short size) |
| static boolean | getMinBoxCorner (short n) |
| static boolean | getMaxBoxCorner (short n) |
| static int | elements () |
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) | |
Box given by its min- and max- corners Generated from class MR::Box<unsigned short>. Derived classes: Direct: (non-virtual) MR::SimpleVolumeMinMaxU16
Instances created here own their C++ objects, see CppObject.
| meshlib.Box_unsigned_short.Box_unsigned_short | ( | 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.Box_unsigned_short.Box_unsigned_short | ( | ) |
create invalid box by default
Calls MR_Box_unsigned_short_DefaultConstruct().
| meshlib.Box_unsigned_short.Box_unsigned_short | ( | meshlib.Box_unsigned_short | _other | ) |
Generated from constructor MR::Box<unsigned short>::Box. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Box_unsigned_short_ConstructFromAnother().
| meshlib.Box_unsigned_short.Box_unsigned_short | ( | short | min, |
| short | max ) |
Generated from constructor MR::Box<unsigned short>::Box. The reference to the parameter min might be preserved in the constructed object. The reference to the parameter max might be preserved in the constructed object.
Calls MR_Box_unsigned_short_Construct_2().
| meshlib.Box_unsigned_short.Box_unsigned_short | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Box<unsigned short>::Box. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Box_unsigned_short_Construct_1().
| meshlib.Box_unsigned_short meshlib.Box_unsigned_short.assignFromAnother | ( | meshlib.Box_unsigned_short | _other | ) |
Generated from method MR::Box<unsigned short>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Box_unsigned_short_AssignFromAnother().
| short meshlib.Box_unsigned_short.center | ( | ) |
computes center of the box Generated from method MR::Box<unsigned short>::center.
Calls MR_Box_unsigned_short_center().
| boolean meshlib.Box_unsigned_short.contains | ( | meshlib.Box_unsigned_short | otherbox | ) |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR::Box<unsigned short>::contains.
Calls MR_Box_unsigned_short_contains_MR_Box_unsigned_short().
| boolean meshlib.Box_unsigned_short.contains | ( | short | pt | ) |
checks whether given point is inside (including the surface) of this box Generated from method MR::Box<unsigned short>::contains.
Calls MR_Box_unsigned_short_contains_unsigned_short().
| short meshlib.Box_unsigned_short.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::Box<unsigned short>::corner.
Calls MR_Box_unsigned_short_corner().
| short meshlib.Box_unsigned_short.diagonal | ( | ) |
computes length from min to max Generated from method MR::Box<unsigned short>::diagonal.
Calls MR_Box_unsigned_short_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Box<unsigned short> named elements.
Calls MR_Box_unsigned_short_Get_elements().
| meshlib.Box_unsigned_short meshlib.Box_unsigned_short.expanded | ( | short | expansion | ) |
decreases min and increased max on given value Generated from method MR::Box<unsigned short>::expanded.
Calls MR_Box_unsigned_short_expanded().
|
static |
Generated from method MR::Box<unsigned short>::fromMinAndSize.
Calls MR_Box_unsigned_short_fromMinAndSize().
| short meshlib.Box_unsigned_short.getBoxClosestPointTo | ( | short | pt | ) |
returns closest point in the box to given point Generated from method MR::Box<unsigned short>::getBoxClosestPointTo.
Calls MR_Box_unsigned_short_getBoxClosestPointTo().
| short meshlib.Box_unsigned_short.getDistanceSq | ( | meshlib.Box_unsigned_short | b | ) |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR::Box<unsigned short>::getDistanceSq.
Calls MR_Box_unsigned_short_getDistanceSq_MR_Box_unsigned_short().
| short meshlib.Box_unsigned_short.getDistanceSq | ( | short | pt | ) |
returns squared distance between this box and given point; returns zero if the point is inside or on the boundary of the box Generated from method MR::Box<unsigned short>::getDistanceSq.
Calls MR_Box_unsigned_short_getDistanceSq_unsigned_short().
|
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::Box<unsigned short>::getMaxBoxCorner.
Calls MR_Box_unsigned_short_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::Box<unsigned short>::getMinBoxCorner.
Calls MR_Box_unsigned_short_getMinBoxCorner().
| short meshlib.Box_unsigned_short.getProjection | ( | short | 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::Box<unsigned short>::getProjection.
Calls MR_Box_unsigned_short_getProjection().
| void meshlib.Box_unsigned_short.include | ( | meshlib.Box_unsigned_short | b | ) |
minimally increases the box to include another box Generated from method MR::Box<unsigned short>::include.
Calls MR_Box_unsigned_short_include_MR_Box_unsigned_short().
| void meshlib.Box_unsigned_short.include | ( | short | pt | ) |
minimally increases the box to include given point Generated from method MR::Box<unsigned short>::include.
Calls MR_Box_unsigned_short_include_unsigned_short().
| short meshlib.Box_unsigned_short.index | ( | int | e | ) |
min/max access by 0/1 index Generated from method MR::Box<unsigned short>::operator[].
Calls MR_Box_unsigned_short_index().
| java.lang.foreign.MemorySegment meshlib.Box_unsigned_short.index_mut | ( | int | e | ) |
Generated from method MR::Box<unsigned short>::operator[].
Calls MR_Box_unsigned_short_index_mut(). Some types are raw C types, see the C bindings for the details.
| meshlib.Box_unsigned_short meshlib.Box_unsigned_short.insignificantlyExpanded | ( | ) |
decreases min and increases max to their closest representable value Generated from method MR::Box<unsigned short>::insignificantlyExpanded.
Calls MR_Box_unsigned_short_insignificantlyExpanded().
| meshlib.Box_unsigned_short meshlib.Box_unsigned_short.intersect | ( | meshlib.Box_unsigned_short | b | ) |
Generated from method MR::Box<unsigned short>::intersect.
Calls MR_Box_unsigned_short_intersect().
| meshlib.Box_unsigned_short meshlib.Box_unsigned_short.intersection | ( | meshlib.Box_unsigned_short | b | ) |
computes intersection between this and other box Generated from method MR::Box<unsigned short>::intersection.
Calls MR_Box_unsigned_short_intersection().
| boolean meshlib.Box_unsigned_short.intersects | ( | meshlib.Box_unsigned_short | b | ) |
checks whether this box intersects or touches given box Generated from method MR::Box<unsigned short>::intersects.
Calls MR_Box_unsigned_short_intersects().
| short meshlib.Box_unsigned_short.max | ( | ) |
Returns a pointer to a member variable of class MR::Box<unsigned short> named max. The reference to this object might be preserved as the return value.
Calls MR_Box_unsigned_short_Get_max().
| short meshlib.Box_unsigned_short.min | ( | ) |
Returns a pointer to a member variable of class MR::Box<unsigned short> named min. The reference to this object might be preserved as the return value.
Calls MR_Box_unsigned_short_Get_min().
| boolean meshlib.Box_unsigned_short.opEqual | ( | meshlib.Box_unsigned_short | a | ) |
Generated from method MR::Box<unsigned short>::operator==.
Calls MR_equal_MR_Box_unsigned_short().
| boolean meshlib.Box_unsigned_short.opNotEqual | ( | meshlib.Box_unsigned_short | a | ) |
Generated from method MR::Box<unsigned short>::operator!=.
Calls MR_not_equal_MR_Box_unsigned_short().
| void meshlib.Box_unsigned_short.setMax | ( | short | value | ) |
Modifies a member variable of class MR::Box<unsigned short> named max. The reference to the parameter value might be preserved in this object in element max.
Calls MR_Box_unsigned_short_Set_max().
| void meshlib.Box_unsigned_short.setMin | ( | short | value | ) |
Modifies a member variable of class MR::Box<unsigned short> named min. The reference to the parameter value might be preserved in this object in element min.
Calls MR_Box_unsigned_short_Set_min().
| short meshlib.Box_unsigned_short.size | ( | ) |
computes size of the box in all dimensions Generated from method MR::Box<unsigned short>::size.
Calls MR_Box_unsigned_short_size().
| boolean meshlib.Box_unsigned_short.valid | ( | ) |
true if the box contains at least one point Generated from method MR::Box<unsigned short>::valid.
Calls MR_Box_unsigned_short_valid().
| short meshlib.Box_unsigned_short.volume | ( | ) |
computes the volume of this box Generated from method MR::Box<unsigned short>::volume.
Calls MR_Box_unsigned_short_volume().