MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::MeshOrPointsXf Struct Reference
Inheritance diagram for meshlib::MeshOrPointsXf:

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshOrPointsXf) -> &mut meshlib::MeshOrPointsXf
auto projector () const -> meshlib::Owned< meshlib::std_function_MR_MeshOrPoints_ProjectionResult_from_const_MR_Vector3f_ref >
auto limited_projector () const -> meshlib::Owned< meshlib::std_function_bool_from_const_MR_Vector3f_ref_MR_MeshOrPoints_ProjectionResult_ref >
auto obj () const -> &meshlib::MeshOrPoints
auto obj_mut () -> &mut meshlib::MeshOrPoints
void set_obj (value:&meshlib::MeshOrPoints)
auto xf () const -> &meshlib::AffineXf3f
auto xf_mut () -> &mut meshlib::AffineXf3f
void set_xf (value:meshlib::AffineXf3f)

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::MeshOrPointsXf) -> meshlib::Owned< meshlib::MeshOrPointsXf >
static auto construct_from (obj:&meshlib::MeshOrPoints, xf:meshlib::AffineXf3f) -> meshlib::Owned< meshlib::MeshOrPointsXf >
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

an object and its transformation to global space with other objects Generated from class MR::MeshOrPointsXf.

Generated from class MR::MeshOrPointsXf. Heap-allocated instances are held in Owned<MeshOrPointsXf>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::MeshOrPointsXf::assign_from_another ( _other:&meshlib::MeshOrPointsXf ) -> &mut meshlib::MeshOrPointsXf

Generated from method MR::MeshOrPointsXf::operator=.

Calls MR_MeshOrPointsXf_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::MeshOrPointsXf::construct_from ( obj:&meshlib::MeshOrPoints ,
xf:meshlib::AffineXf3f  ) -> meshlib::Owned< meshlib::MeshOrPointsXf >
static

Constructs MR::MeshOrPointsXf elementwise.

Calls MR_MeshOrPointsXf_ConstructFrom(). The reference to the parameter obj 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::MeshOrPointsXf::construct_from_another ( _other:&meshlib::MeshOrPointsXf ) -> meshlib::Owned< meshlib::MeshOrPointsXf >
static

Generated from constructor MR::MeshOrPointsXf::MeshOrPointsXf.

Calls MR_MeshOrPointsXf_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ limited_projector()

returns a function that updates previously known projection (closest) points on this, the update takes place only if newly found closest point is closer to p than sqrt(res.distSq) given on input Generated from method MR::MeshOrPointsXf::limitedProjector.

Calls MR_MeshOrPointsXf_limitedProjector().

◆ obj()

auto meshlib::MeshOrPointsXf::obj ( ) const -> &meshlib::MeshOrPoints

Returns a pointer to a member variable of class MR::MeshOrPointsXf named obj.

Calls MR_MeshOrPointsXf_Get_obj(). The reference to this object might be preserved as the return value.

◆ obj_mut()

auto meshlib::MeshOrPointsXf::obj_mut ( ) -> &mut meshlib::MeshOrPoints

Returns a mutable pointer to a member variable of class MR::MeshOrPointsXf named obj.

Calls MR_MeshOrPointsXf_GetMutable_obj(). The reference to this object might be preserved as the return value.

◆ projector()

returns a function that finds projection (closest) points on this: Vector3f->ProjectionResult Generated from method MR::MeshOrPointsXf::projector.

Calls MR_MeshOrPointsXf_projector().

◆ set_obj()

void meshlib::MeshOrPointsXf::set_obj ( value:&meshlib::MeshOrPoints )

Modifies a member variable of class MR::MeshOrPointsXf named obj.

Calls MR_MeshOrPointsXf_Set_obj(). The reference to the parameter value might be preserved in this object in element obj.

◆ set_xf()

void meshlib::MeshOrPointsXf::set_xf ( value:meshlib::AffineXf3f )

Modifies a member variable of class MR::MeshOrPointsXf named xf.

Calls MR_MeshOrPointsXf_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.

◆ xf()

auto meshlib::MeshOrPointsXf::xf ( ) const -> &meshlib::AffineXf3f

Returns a pointer to a member variable of class MR::MeshOrPointsXf named xf.

Calls MR_MeshOrPointsXf_Get_xf(). The reference to this object might be preserved as the return value.

◆ xf_mut()

auto meshlib::MeshOrPointsXf::xf_mut ( ) -> &mut meshlib::AffineXf3f

Returns a mutable pointer to a member variable of class MR::MeshOrPointsXf named xf.

Calls MR_MeshOrPointsXf_GetMutable_xf(). The reference to this object might be preserved as the return value.


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