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

Public Member Functions

auto assign_from_another (_other:&meshlib::OffsetContoursOrigins) -> &mut meshlib::OffsetContoursOrigins
auto valid () const -> bool
auto is_intersection () const -> bool
auto l_org () const -> &meshlib::OffsetContourIndex
auto l_org_mut () -> &mut meshlib::OffsetContourIndex
void set_l_org (value:&meshlib::OffsetContourIndex)
auto l_dest () const -> &meshlib::OffsetContourIndex
auto l_dest_mut () -> &mut meshlib::OffsetContourIndex
void set_l_dest (value:&meshlib::OffsetContourIndex)
auto u_org () const -> &meshlib::OffsetContourIndex
auto u_org_mut () -> &mut meshlib::OffsetContourIndex
void set_u_org (value:&meshlib::OffsetContourIndex)
auto u_dest () const -> &meshlib::OffsetContourIndex
auto u_dest_mut () -> &mut meshlib::OffsetContourIndex
void set_u_dest (value:&meshlib::OffsetContourIndex)
auto l_ratio () const -> &f32
auto l_ratio_mut () -> &mut f32
void set_l_ratio (value:f32)
auto u_ratio () const -> &f32
auto u_ratio_mut () -> &mut f32
void set_u_ratio (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OffsetContoursOrigins >
static auto construct_from (lOrg:&meshlib::OffsetContourIndex, lDest:&meshlib::OffsetContourIndex, uOrg:&meshlib::OffsetContourIndex, uDest:&meshlib::OffsetContourIndex, lRatio:f32, uRatio:f32) -> meshlib::Owned< meshlib::OffsetContoursOrigins >
static auto construct_from_another (_other:&meshlib::OffsetContoursOrigins) -> meshlib::Owned< meshlib::OffsetContoursOrigins >
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::OffsetContoursOrigins.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::OffsetContoursOrigins::construct_from ( lOrg:&meshlib::OffsetContourIndex ,
lDest:&meshlib::OffsetContourIndex ,
uOrg:&meshlib::OffsetContourIndex ,
uDest:&meshlib::OffsetContourIndex ,
lRatio:f32 ,
uRatio:f32  ) -> meshlib::Owned< meshlib::OffsetContoursOrigins >
static

Constructs MR::OffsetContoursOrigins elementwise.

Calls MR_OffsetContoursOrigins_ConstructFrom(). The reference to the parameter lOrg might be preserved in the constructed object. The reference to the parameter lDest might be preserved in the constructed object. The reference to the parameter uOrg might be preserved in the constructed object. The reference to the parameter uDest might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::OffsetContoursOrigins::OffsetContoursOrigins.

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

◆ is_intersection()

auto meshlib::OffsetContoursOrigins::is_intersection ( ) const -> bool

Generated from method MR::OffsetContoursOrigins::isIntersection.

Calls MR_OffsetContoursOrigins_isIntersection().

◆ l_dest()

auto meshlib::OffsetContoursOrigins::l_dest ( ) const -> &meshlib::OffsetContourIndex

index of lower corresponding destination point on input contour Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lDest.

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

◆ l_dest_mut()

auto meshlib::OffsetContoursOrigins::l_dest_mut ( ) -> &mut meshlib::OffsetContourIndex

index of lower corresponding destination point on input contour Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lDest.

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

◆ l_org()

auto meshlib::OffsetContoursOrigins::l_org ( ) const -> &meshlib::OffsetContourIndex

Should be always valid index of lower corresponding origin point on input contour Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lOrg.

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

◆ l_org_mut()

auto meshlib::OffsetContoursOrigins::l_org_mut ( ) -> &mut meshlib::OffsetContourIndex

Should be always valid index of lower corresponding origin point on input contour Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lOrg.

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

◆ l_ratio()

auto meshlib::OffsetContoursOrigins::l_ratio ( ) const -> &f32

ratio of intersection point on lOrg->lDest segment 0.0 -> lOrg 1.0 -> lDest Returns a pointer to a member variable of class MR::OffsetContoursOrigins named lRatio.

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

◆ l_ratio_mut()

auto meshlib::OffsetContoursOrigins::l_ratio_mut ( ) -> &mut f32

ratio of intersection point on lOrg->lDest segment 0.0 -> lOrg 1.0 -> lDest Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named lRatio.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_OffsetContoursOrigins_DefaultConstruct().

◆ set_l_dest()

void meshlib::OffsetContoursOrigins::set_l_dest ( value:&meshlib::OffsetContourIndex )

index of lower corresponding destination point on input contour Modifies a member variable of class MR::OffsetContoursOrigins named lDest.

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

◆ set_l_org()

void meshlib::OffsetContoursOrigins::set_l_org ( value:&meshlib::OffsetContourIndex )

Should be always valid index of lower corresponding origin point on input contour Modifies a member variable of class MR::OffsetContoursOrigins named lOrg.

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

◆ set_l_ratio()

void meshlib::OffsetContoursOrigins::set_l_ratio ( value:f32 )

ratio of intersection point on lOrg->lDest segment 0.0 -> lOrg 1.0 -> lDest Modifies a member variable of class MR::OffsetContoursOrigins named lRatio.

Calls MR_OffsetContoursOrigins_Set_lRatio().

◆ set_u_dest()

void meshlib::OffsetContoursOrigins::set_u_dest ( value:&meshlib::OffsetContourIndex )

index of upper corresponding destination point on input contour Modifies a member variable of class MR::OffsetContoursOrigins named uDest.

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

◆ set_u_org()

void meshlib::OffsetContoursOrigins::set_u_org ( value:&meshlib::OffsetContourIndex )

index of upper corresponding origin point on input contour Modifies a member variable of class MR::OffsetContoursOrigins named uOrg.

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

◆ set_u_ratio()

void meshlib::OffsetContoursOrigins::set_u_ratio ( value:f32 )

ratio of intersection point on uOrg->uDest segment 0.0 -> uOrg 1.0 -> uDest Modifies a member variable of class MR::OffsetContoursOrigins named uRatio.

Calls MR_OffsetContoursOrigins_Set_uRatio().

◆ u_dest()

auto meshlib::OffsetContoursOrigins::u_dest ( ) const -> &meshlib::OffsetContourIndex

index of upper corresponding destination point on input contour Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uDest.

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

◆ u_dest_mut()

auto meshlib::OffsetContoursOrigins::u_dest_mut ( ) -> &mut meshlib::OffsetContourIndex

index of upper corresponding destination point on input contour Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uDest.

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

◆ u_org()

auto meshlib::OffsetContoursOrigins::u_org ( ) const -> &meshlib::OffsetContourIndex

index of upper corresponding origin point on input contour Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uOrg.

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

◆ u_org_mut()

auto meshlib::OffsetContoursOrigins::u_org_mut ( ) -> &mut meshlib::OffsetContourIndex

index of upper corresponding origin point on input contour Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uOrg.

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

◆ u_ratio()

auto meshlib::OffsetContoursOrigins::u_ratio ( ) const -> &f32

ratio of intersection point on uOrg->uDest segment 0.0 -> uOrg 1.0 -> uDest Returns a pointer to a member variable of class MR::OffsetContoursOrigins named uRatio.

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

◆ u_ratio_mut()

auto meshlib::OffsetContoursOrigins::u_ratio_mut ( ) -> &mut f32

ratio of intersection point on uOrg->uDest segment 0.0 -> uOrg 1.0 -> uDest Returns a mutable pointer to a member variable of class MR::OffsetContoursOrigins named uRatio.

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

◆ valid()

auto meshlib::OffsetContoursOrigins::valid ( ) const -> bool

Generated from method MR::OffsetContoursOrigins::valid.

Calls MR_OffsetContoursOrigins_valid().


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