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

Public Member Functions

auto assign_from_another (_other:&meshlib::DividePolylineParameters) -> &mut meshlib::DividePolylineParameters
auto on_edge_split_callback () const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float
auto on_edge_split_callback_mut () -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float
void set_on_edge_split_callback (value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float)
auto close_line_after_cut () const -> &bool
auto close_line_after_cut_mut () -> &mut bool
void set_close_line_after_cut (value:bool)
auto out_vmap () const -> *const *mut meshlib::ffi::MR_VertMap
auto out_vmap_mut () -> *mut *mut meshlib::ffi::MR_VertMap
void set_out_vmap (value:Option<&mut meshlib::VertMap >)
auto out_emap () const -> *const *mut meshlib::ffi::MR_EdgeMap
auto out_emap_mut () -> *mut *mut meshlib::ffi::MR_EdgeMap
void set_out_emap (value:Option<&mut meshlib::EdgeMap >)
auto other_part () const -> *const *mut meshlib::ffi::MR_Polyline3
auto other_part_mut () -> *mut *mut meshlib::ffi::MR_Polyline3
void set_other_part (value:Option<&mut meshlib::Polyline3 >)
auto other_out_vmap () const -> *const *mut meshlib::ffi::MR_VertMap
auto other_out_vmap_mut () -> *mut *mut meshlib::ffi::MR_VertMap
void set_other_out_vmap (value:Option<&mut meshlib::VertMap >)
auto other_out_emap () const -> *const *mut meshlib::ffi::MR_EdgeMap
auto other_out_emap_mut () -> *mut *mut meshlib::ffi::MR_EdgeMap
void set_other_out_emap (value:Option<&mut meshlib::EdgeMap >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::DividePolylineParameters >
static auto construct_from (onEdgeSplitCallback:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float, closeLineAfterCut:bool, outVmap:Option<&mut meshlib::VertMap >, outEmap:Option<&mut meshlib::EdgeMap >, otherPart:Option<&mut meshlib::Polyline3 >, otherOutVmap:Option<&mut meshlib::VertMap >, otherOutEmap:Option<&mut meshlib::EdgeMap >) -> meshlib::Owned< meshlib::DividePolylineParameters >
static auto construct_from_another (_other:&meshlib::DividePolylineParameters) -> meshlib::Owned< meshlib::DividePolylineParameters >
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::DividePolylineParameters.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ close_line_after_cut()

auto meshlib::DividePolylineParameters::close_line_after_cut ( ) const -> &bool

closeLineAfterCut if true, the ends of resulting polyline will be connected by new edges (can make a polyline closed, even if the original one was open) if close, only cut edges (no new edges will be created) Returns a pointer to a member variable of class MR::DividePolylineParameters named closeLineAfterCut.

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

◆ close_line_after_cut_mut()

auto meshlib::DividePolylineParameters::close_line_after_cut_mut ( ) -> &mut bool

closeLineAfterCut if true, the ends of resulting polyline will be connected by new edges (can make a polyline closed, even if the original one was open) if close, only cut edges (no new edges will be created) Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named closeLineAfterCut.

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

◆ construct_from()

auto meshlib::DividePolylineParameters::construct_from ( onEdgeSplitCallback:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float ,
closeLineAfterCut:bool ,
outVmap:Option<&mut meshlib::VertMap > ,
outEmap:Option<&mut meshlib::EdgeMap > ,
otherPart:Option<&mut meshlib::Polyline3 > ,
otherOutVmap:Option<&mut meshlib::VertMap > ,
otherOutEmap:Option<&mut meshlib::EdgeMap >  ) -> meshlib::Owned< meshlib::DividePolylineParameters >
static

Constructs MR::DividePolylineParameters elementwise.

Calls MR_DividePolylineParameters_ConstructFrom(). The reference to the parameter onEdgeSplitCallback might be preserved in the constructed object. The reference to the parameter outVmap might be preserved in the constructed object. The reference to the parameter outEmap might be preserved in the constructed object. The reference to the parameter otherPart might be preserved in the constructed object. The reference to the parameter otherOutVmap might be preserved in the constructed object. The reference to the parameter otherOutEmap might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::DividePolylineParameters::DividePolylineParameters.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DividePolylineParameters_DefaultConstruct().

◆ on_edge_split_callback()

auto meshlib::DividePolylineParameters::on_edge_split_callback ( ) const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float

onEdgeSplitCallback is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Returns a pointer to a member variable of class MR::DividePolylineParameters named onEdgeSplitCallback.

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

◆ on_edge_split_callback_mut()

auto meshlib::DividePolylineParameters::on_edge_split_callback_mut ( ) -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float

onEdgeSplitCallback is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named onEdgeSplitCallback.

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

◆ other_out_emap()

auto meshlib::DividePolylineParameters::other_out_emap ( ) const -> *const *mut meshlib::ffi::MR_EdgeMap

map from input polyline edges to other output Returns a pointer to a member variable of class MR::DividePolylineParameters named otherOutEmap.

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

auto meshlib::DividePolylineParameters::other_out_emap_mut ( ) -> *mut *mut meshlib::ffi::MR_EdgeMap

map from input polyline edges to other output Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named otherOutEmap.

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

auto meshlib::DividePolylineParameters::other_out_vmap ( ) const -> *const *mut meshlib::ffi::MR_VertMap

map from input polyline verts to other output Returns a pointer to a member variable of class MR::DividePolylineParameters named otherOutVmap.

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

auto meshlib::DividePolylineParameters::other_out_vmap_mut ( ) -> *mut *mut meshlib::ffi::MR_VertMap

map from input polyline verts to other output Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named otherOutVmap.

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

auto meshlib::DividePolylineParameters::other_part ( ) const -> *const *mut meshlib::ffi::MR_Polyline3

otherPart Optional return, polyline composed from edges on the negative side of the plane Returns a pointer to a member variable of class MR::DividePolylineParameters named otherPart.

Calls MR_DividePolylineParameters_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::DividePolylineParameters::other_part_mut ( ) -> *mut *mut meshlib::ffi::MR_Polyline3

otherPart Optional return, polyline composed from edges on the negative side of the plane Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named otherPart.

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

◆ out_emap()

auto meshlib::DividePolylineParameters::out_emap ( ) const -> *const *mut meshlib::ffi::MR_EdgeMap

map from input polyline edges to output Returns a pointer to a member variable of class MR::DividePolylineParameters named outEmap.

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

◆ out_emap_mut()

auto meshlib::DividePolylineParameters::out_emap_mut ( ) -> *mut *mut meshlib::ffi::MR_EdgeMap

map from input polyline edges to output Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named outEmap.

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

◆ out_vmap()

auto meshlib::DividePolylineParameters::out_vmap ( ) const -> *const *mut meshlib::ffi::MR_VertMap

map from input polyline verts to output Returns a pointer to a member variable of class MR::DividePolylineParameters named outVmap.

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

◆ out_vmap_mut()

auto meshlib::DividePolylineParameters::out_vmap_mut ( ) -> *mut *mut meshlib::ffi::MR_VertMap

map from input polyline verts to output Returns a mutable pointer to a member variable of class MR::DividePolylineParameters named outVmap.

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

void meshlib::DividePolylineParameters::set_close_line_after_cut ( value:bool )

closeLineAfterCut if true, the ends of resulting polyline will be connected by new edges (can make a polyline closed, even if the original one was open) if close, only cut edges (no new edges will be created) Modifies a member variable of class MR::DividePolylineParameters named closeLineAfterCut.

Calls MR_DividePolylineParameters_Set_closeLineAfterCut().

◆ set_on_edge_split_callback()

void meshlib::DividePolylineParameters::set_on_edge_split_callback ( value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId_float )

onEdgeSplitCallback is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Modifies a member variable of class MR::DividePolylineParameters named onEdgeSplitCallback.

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

◆ set_other_out_emap()

void meshlib::DividePolylineParameters::set_other_out_emap ( value:Option<&mut meshlib::EdgeMap > )

map from input polyline edges to other output Modifies a member variable of class MR::DividePolylineParameters named otherOutEmap.

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

◆ set_other_out_vmap()

void meshlib::DividePolylineParameters::set_other_out_vmap ( value:Option<&mut meshlib::VertMap > )

map from input polyline verts to other output Modifies a member variable of class MR::DividePolylineParameters named otherOutVmap.

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

◆ set_other_part()

void meshlib::DividePolylineParameters::set_other_part ( value:Option<&mut meshlib::Polyline3 > )

otherPart Optional return, polyline composed from edges on the negative side of the plane Modifies a member variable of class MR::DividePolylineParameters named otherPart.

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

◆ set_out_emap()

void meshlib::DividePolylineParameters::set_out_emap ( value:Option<&mut meshlib::EdgeMap > )

map from input polyline edges to output Modifies a member variable of class MR::DividePolylineParameters named outEmap.

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

◆ set_out_vmap()

void meshlib::DividePolylineParameters::set_out_vmap ( value:Option<&mut meshlib::VertMap > )

map from input polyline verts to output Modifies a member variable of class MR::DividePolylineParameters named outVmap.

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


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