Public Member Functions | |
| DenseBox (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| DenseBox (meshlib.DenseBox _other) | |
| DenseBox (meshlib.std_vector_MR_Vector3f points, meshlib.AffineXf3f xf) | |
| DenseBox (meshlib.std_vector_MR_Vector3f points, meshlib.std_vector_float weights, meshlib.AffineXf3f xf) | |
| DenseBox (meshlib.MeshPart meshPart, meshlib.AffineXf3f xf) | |
| DenseBox (meshlib.PointCloud points, meshlib.AffineXf3f xf) | |
| DenseBox (meshlib.Polyline3 line, meshlib.AffineXf3f xf) | |
| meshlib.DenseBox | assignFromAnother (meshlib.DenseBox _other) |
| meshlib.Vector3f | center () |
| meshlib.Vector3f | corner (meshlib.Vector3b index) |
| boolean | contains (meshlib.Vector3f pt) |
| meshlib.Box3f | box () |
| meshlib.AffineXf3f | basisXf () |
| meshlib.AffineXf3f | basisXfInv () |
| 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) | |
Structure to hold and work with dense box
Scalar operations that are not provided in this struct can be called via box() For example box().size(), box().diagonal() or box().volume() Non const operations are not allowed for dense box because it can spoil density Generated from class MR::DenseBox.
Instances created here own their C++ objects, see CppObject.
| meshlib.DenseBox.DenseBox | ( | 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.DenseBox.DenseBox | ( | meshlib.DenseBox | _other | ) |
Generated from constructor MR::DenseBox::DenseBox. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_DenseBox_ConstructFromAnother().
| meshlib.DenseBox.DenseBox | ( | meshlib.std_vector_MR_Vector3f | points, |
| meshlib.AffineXf3f | xf ) |
Include given points into this dense box Generated from constructor MR::DenseBox::DenseBox. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_DenseBox_Construct_2_std_vector_MR_Vector3f().
| meshlib.DenseBox.DenseBox | ( | meshlib.std_vector_MR_Vector3f | points, |
| meshlib.std_vector_float | weights, | ||
| meshlib.AffineXf3f | xf ) |
Include given weighed points into this dense box Generated from constructor MR::DenseBox::DenseBox. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter weights might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_DenseBox_Construct_3().
| meshlib.DenseBox.DenseBox | ( | meshlib.MeshPart | meshPart, |
| meshlib.AffineXf3f | xf ) |
Include mesh part into this dense box Generated from constructor MR::DenseBox::DenseBox. The reference to the parameter meshPart might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_DenseBox_Construct_2_MR_MeshPart().
| meshlib.DenseBox.DenseBox | ( | meshlib.PointCloud | points, |
| meshlib.AffineXf3f | xf ) |
Include point into this dense box Generated from constructor MR::DenseBox::DenseBox. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_DenseBox_Construct_2_MR_PointCloud().
| meshlib.DenseBox.DenseBox | ( | meshlib.Polyline3 | line, |
| meshlib.AffineXf3f | xf ) |
Include line into this dense box Generated from constructor MR::DenseBox::DenseBox. The reference to the parameter line might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_DenseBox_Construct_2_MR_Polyline3().
| meshlib.DenseBox meshlib.DenseBox.assignFromAnother | ( | meshlib.DenseBox | _other | ) |
Generated from method MR::DenseBox::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_DenseBox_AssignFromAnother().
| meshlib.AffineXf3f meshlib.DenseBox.basisXf | ( | ) |
transform box space to world space Generated from method MR::DenseBox::basisXf.
Calls MR_DenseBox_basisXf().
| meshlib.AffineXf3f meshlib.DenseBox.basisXfInv | ( | ) |
transform world space to box space Generated from method MR::DenseBox::basisXfInv.
Calls MR_DenseBox_basisXfInv().
| meshlib.Box3f meshlib.DenseBox.box | ( | ) |
return box in its space Generated from method MR::DenseBox::box.
Calls MR_DenseBox_box().
| meshlib.Vector3f meshlib.DenseBox.center | ( | ) |
returns center of dense box Generated from method MR::DenseBox::center.
Calls MR_DenseBox_center().
| boolean meshlib.DenseBox.contains | ( | meshlib.Vector3f | pt | ) |
returns true if dense box contains given point Generated from method MR::DenseBox::contains.
Calls MR_DenseBox_contains().
| meshlib.Vector3f meshlib.DenseBox.corner | ( | meshlib.Vector3b | index | ) |
returns corner of dense box, each index value means: false - min, true - max example: {false, false, flase} - min point, {true, true, true} - max point Generated from method MR::DenseBox::corner.
Calls MR_DenseBox_corner().