Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::DenseBox) -> &mut meshlib::DenseBox |
| auto | center () const -> meshlib::Vector3f |
| auto | corner (index:&meshlib::Vector3b) const -> meshlib::Vector3f |
| auto | contains (pt:&meshlib::Vector3f) const -> bool |
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.
Generated from class MR::DenseBox. Heap-allocated instances are held in Owned<DenseBox>.
| auto meshlib::DenseBox::assign_from_another | ( | _other:&meshlib::DenseBox | ) | -> &mut meshlib::DenseBox |
Generated from method MR::DenseBox::operator=.
Calls MR_DenseBox_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::DenseBox::center | ( | ) | const -> meshlib::Vector3f |
returns center of dense box Generated from method MR::DenseBox::center.
Calls MR_DenseBox_center().
|
static |
Include mesh part into this dense box Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_Construct_2_MR_MeshPart(). 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.
|
static |
Include point into this dense box Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_Construct_2_MR_PointCloud(). 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.
|
static |
Include line into this dense box Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_Construct_2_MR_Polyline3(). 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.
|
static |
Include given points into this dense box Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_Construct_2_std_vector_MR_Vector3f(). 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.
|
static |
Include given weighed points into this dense box Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_Construct_3(). 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.
|
static |
Generated from constructor MR::DenseBox::DenseBox.
Calls MR_DenseBox_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DenseBox::contains | ( | pt:&meshlib::Vector3f | ) | const -> bool |
returns true if dense box contains given point Generated from method MR::DenseBox::contains.
Calls MR_DenseBox_contains().
| auto meshlib::DenseBox::corner | ( | index:&meshlib::Vector3b | ) | const -> meshlib::Vector3f |
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().