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

Public Member Functions

auto assign_from_another (_other:&meshlib::DivideMeshWithPlaneParams) -> &mut meshlib::DivideMeshWithPlaneParams
auto eps () const -> &f32
auto eps_mut () -> &mut f32
void set_eps (value:f32)
auto fill_cut () const -> &bool
auto fill_cut_mut () -> &mut bool
void set_fill_cut (value:bool)
auto subdivide_filling () const -> &bool
auto subdivide_filling_mut () -> &mut bool
void set_subdivide_filling (value:bool)
auto other_part () const -> *const *mut meshlib::ffi::MR_ObjectMeshData
auto other_part_mut () -> *mut *mut meshlib::ffi::MR_ObjectMeshData
void set_other_part (value:Option<&mut meshlib::ObjectMeshData >)
auto errors () const -> *const *mut meshlib::ffi::MR_std_vector_std_string
auto errors_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_string
void set_errors (value:Option<&mut meshlib::std_vector_std_string >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::DivideMeshWithPlaneParams >
static auto construct_from (eps:f32, fillCut:bool, subdivideFilling:bool, otherPart:Option<&mut meshlib::ObjectMeshData >, errors:Option<&mut meshlib::std_vector_std_string >) -> meshlib::Owned< meshlib::DivideMeshWithPlaneParams >
static auto construct_from_another (_other:&meshlib::DivideMeshWithPlaneParams) -> meshlib::Owned< meshlib::DivideMeshWithPlaneParams >
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

Generated from class MR::DivideMeshWithPlaneParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::DivideMeshWithPlaneParams::construct_from ( eps:f32 ,
fillCut:bool ,
subdivideFilling:bool ,
otherPart:Option<&mut meshlib::ObjectMeshData > ,
errors:Option<&mut meshlib::std_vector_std_string >  ) -> meshlib::Owned< meshlib::DivideMeshWithPlaneParams >
static

Constructs MR::DivideMeshWithPlaneParams elementwise.

Calls MR_DivideMeshWithPlaneParams_ConstructFrom(). The reference to the parameter otherPart might be preserved in the constructed object. The reference to the parameter errors might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::DivideMeshWithPlaneParams::DivideMeshWithPlaneParams.

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

◆ eps()

auto meshlib::DivideMeshWithPlaneParams::eps ( ) const -> &f32

if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Returns a pointer to a member variable of class MR::DivideMeshWithPlaneParams named eps.

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

◆ eps_mut()

auto meshlib::DivideMeshWithPlaneParams::eps_mut ( ) -> &mut f32

if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Returns a mutable pointer to a member variable of class MR::DivideMeshWithPlaneParams named eps.

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

◆ errors()

auto meshlib::DivideMeshWithPlaneParams::errors ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_string

optional output list of errors that could possibly happen during 'divideMeshWithPlane' function call Returns a pointer to a member variable of class MR::DivideMeshWithPlaneParams named errors.

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

◆ errors_mut()

auto meshlib::DivideMeshWithPlaneParams::errors_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_string

optional output list of errors that could possibly happen during 'divideMeshWithPlane' function call Returns a mutable pointer to a member variable of class MR::DivideMeshWithPlaneParams named errors.

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

◆ fill_cut()

auto meshlib::DivideMeshWithPlaneParams::fill_cut ( ) const -> &bool

if set - function tries to fill cut after dividing (this operation might fail leading to "params.errors") Returns a pointer to a member variable of class MR::DivideMeshWithPlaneParams named fillCut.

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

◆ fill_cut_mut()

auto meshlib::DivideMeshWithPlaneParams::fill_cut_mut ( ) -> &mut bool

if set - function tries to fill cut after dividing (this operation might fail leading to "params.errors") Returns a mutable pointer to a member variable of class MR::DivideMeshWithPlaneParams named fillCut.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DivideMeshWithPlaneParams_DefaultConstruct().

◆ other_part()

auto meshlib::DivideMeshWithPlaneParams::other_part ( ) const -> *const *mut meshlib::ffi::MR_ObjectMeshData

optional output other part of dividing (expected to be empty) Returns a pointer to a member variable of class MR::DivideMeshWithPlaneParams named otherPart.

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

◆ other_part_mut()

auto meshlib::DivideMeshWithPlaneParams::other_part_mut ( ) -> *mut *mut meshlib::ffi::MR_ObjectMeshData

optional output other part of dividing (expected to be empty) Returns a mutable pointer to a member variable of class MR::DivideMeshWithPlaneParams named otherPart.

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

◆ set_eps()

void meshlib::DivideMeshWithPlaneParams::set_eps ( value:f32 )

if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Modifies a member variable of class MR::DivideMeshWithPlaneParams named eps.

Calls MR_DivideMeshWithPlaneParams_Set_eps().

◆ set_errors()

void meshlib::DivideMeshWithPlaneParams::set_errors ( value:Option<&mut meshlib::std_vector_std_string > )

optional output list of errors that could possibly happen during 'divideMeshWithPlane' function call Modifies a member variable of class MR::DivideMeshWithPlaneParams named errors.

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

◆ set_fill_cut()

void meshlib::DivideMeshWithPlaneParams::set_fill_cut ( value:bool )

if set - function tries to fill cut after dividing (this operation might fail leading to "params.errors") Modifies a member variable of class MR::DivideMeshWithPlaneParams named fillCut.

Calls MR_DivideMeshWithPlaneParams_Set_fillCut().

◆ set_other_part()

void meshlib::DivideMeshWithPlaneParams::set_other_part ( value:Option<&mut meshlib::ObjectMeshData > )

optional output other part of dividing (expected to be empty) Modifies a member variable of class MR::DivideMeshWithPlaneParams named otherPart.

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

◆ set_subdivide_filling()

void meshlib::DivideMeshWithPlaneParams::set_subdivide_filling ( value:bool )

if set and filled - function subdivides filling after cut Modifies a member variable of class MR::DivideMeshWithPlaneParams named subdivideFilling.

Calls MR_DivideMeshWithPlaneParams_Set_subdivideFilling().

◆ subdivide_filling()

auto meshlib::DivideMeshWithPlaneParams::subdivide_filling ( ) const -> &bool

if set and filled - function subdivides filling after cut Returns a pointer to a member variable of class MR::DivideMeshWithPlaneParams named subdivideFilling.

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

◆ subdivide_filling_mut()

auto meshlib::DivideMeshWithPlaneParams::subdivide_filling_mut ( ) -> &mut bool

if set and filled - function subdivides filling after cut Returns a mutable pointer to a member variable of class MR::DivideMeshWithPlaneParams named subdivideFilling.

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


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