MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::DenseBox:

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

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::DenseBox) -> meshlib::Owned< meshlib::DenseBox >
static auto construct_2_std_vector_mr_vector3f (points:&meshlib::std_vector_MR_Vector3f, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::DenseBox >
static auto construct_3 (points:&meshlib::std_vector_MR_Vector3f, weights:&meshlib::std_vector_float, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::DenseBox >
static auto construct_2_mr_mesh_part (meshPart:&meshlib::MeshPart, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::DenseBox >
static auto construct_2_mr_point_cloud (points:&meshlib::PointCloud, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::DenseBox >
static auto construct_2_mr_polyline3 (line:&meshlib::Polyline3, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::DenseBox >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

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>.

Member Function Documentation

◆ assign_from_another()

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.

◆ center()

auto meshlib::DenseBox::center ( ) const -> meshlib::Vector3f

returns center of dense box Generated from method MR::DenseBox::center.

Calls MR_DenseBox_center().

◆ construct_2_mr_mesh_part()

auto meshlib::DenseBox::construct_2_mr_mesh_part ( meshPart:&meshlib::MeshPart ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ construct_2_mr_point_cloud()

auto meshlib::DenseBox::construct_2_mr_point_cloud ( points:&meshlib::PointCloud ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ construct_2_mr_polyline3()

auto meshlib::DenseBox::construct_2_mr_polyline3 ( line:&meshlib::Polyline3 ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ construct_2_std_vector_mr_vector3f()

auto meshlib::DenseBox::construct_2_std_vector_mr_vector3f ( points:&meshlib::std_vector_MR_Vector3f ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ construct_3()

auto meshlib::DenseBox::construct_3 ( points:&meshlib::std_vector_MR_Vector3f ,
weights:&meshlib::std_vector_float ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ construct_from_another()

auto meshlib::DenseBox::construct_from_another ( _other:&meshlib::DenseBox ) -> meshlib::Owned< meshlib::DenseBox >
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.

◆ contains()

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().

◆ corner()

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().


The documentation for this struct was generated from the following file: