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

Public Member Functions

auto assign_from_another (_other:&meshlib::CutByProjectionSettings) -> &mut meshlib::CutByProjectionSettings
auto direction () const -> &meshlib::Vector3f
auto direction_mut () -> &mut meshlib::Vector3f
void set_direction (value:meshlib::Vector3f)
auto cont2mesh () const -> *const *const meshlib::AffineXf3f
auto cont2mesh_mut () -> *mut *const meshlib::AffineXf3f
void set_cont2mesh (value:Option<&meshlib::AffineXf3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CutByProjectionSettings >
static auto construct_from (direction:meshlib::Vector3f, cont2mesh:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::CutByProjectionSettings >
static auto construct_from_another (_other:&meshlib::CutByProjectionSettings) -> meshlib::Owned< meshlib::CutByProjectionSettings >
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

Settings structurer for cutMeshByProjection function Generated from class MR::CutByProjectionSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CutByProjectionSettings::construct_from ( direction:meshlib::Vector3f ,
cont2mesh:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::CutByProjectionSettings >
static

Constructs MR::CutByProjectionSettings elementwise.

Calls MR_CutByProjectionSettings_ConstructFrom(). The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter cont2mesh might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::CutByProjectionSettings::construct_from_another ( _other:&meshlib::CutByProjectionSettings ) -> meshlib::Owned< meshlib::CutByProjectionSettings >
static

Generated from constructor MR::CutByProjectionSettings::CutByProjectionSettings.

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

◆ cont2mesh()

auto meshlib::CutByProjectionSettings::cont2mesh ( ) const -> *const *const meshlib::AffineXf3f

if set - used to transform contours form its local space to mesh local space Returns a pointer to a member variable of class MR::CutByProjectionSettings named cont2mesh.

Calls MR_CutByProjectionSettings_Get_cont2mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ cont2mesh_mut()

auto meshlib::CutByProjectionSettings::cont2mesh_mut ( ) -> *mut *const meshlib::AffineXf3f

if set - used to transform contours form its local space to mesh local space Returns a mutable pointer to a member variable of class MR::CutByProjectionSettings named cont2mesh.

Calls MR_CutByProjectionSettings_GetMutable_cont2mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ direction()

auto meshlib::CutByProjectionSettings::direction ( ) const -> &meshlib::Vector3f

direction of projection (in mesh space) Returns a pointer to a member variable of class MR::CutByProjectionSettings named direction.

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

◆ direction_mut()

auto meshlib::CutByProjectionSettings::direction_mut ( ) -> &mut meshlib::Vector3f

direction of projection (in mesh space) Returns a mutable pointer to a member variable of class MR::CutByProjectionSettings named direction.

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

◆ new()

auto meshlib::CutByProjectionSettings::new ( ) -> meshlib::Owned< meshlib::CutByProjectionSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_CutByProjectionSettings_DefaultConstruct().

◆ set_cont2mesh()

void meshlib::CutByProjectionSettings::set_cont2mesh ( value:Option<&meshlib::AffineXf3f > )

if set - used to transform contours form its local space to mesh local space Modifies a member variable of class MR::CutByProjectionSettings named cont2mesh.

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

◆ set_direction()

void meshlib::CutByProjectionSettings::set_direction ( value:meshlib::Vector3f )

direction of projection (in mesh space) Modifies a member variable of class MR::CutByProjectionSettings named direction.

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


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