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

Public Member Functions

auto assign_from_another (_other:&meshlib::BallPivotCandidate) -> &mut meshlib::BallPivotCandidate
auto coords () const -> &meshlib::PreciseVertCoords
auto coords_mut () -> &mut meshlib::PreciseVertCoords
void set_coords (value:&meshlib::PreciseVertCoords)
auto cw_from_vk () const -> &bool
auto cw_from_vk_mut () -> &mut bool
void set_cw_from_vk (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BallPivotCandidate >
static auto construct_from (coords:&meshlib::PreciseVertCoords, cwFromVk:bool) -> meshlib::Owned< meshlib::BallPivotCandidate >
static auto construct_from_another (_other:&meshlib::BallPivotCandidate) -> meshlib::Owned< meshlib::BallPivotCandidate >
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

a point touchable by a ball together with the edge (vi, vj) in the search of findBallPivotVertex Generated from class MR::BallPivotCandidate.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::BallPivotCandidate::construct_from ( coords:&meshlib::PreciseVertCoords ,
cwFromVk:bool  ) -> meshlib::Owned< meshlib::BallPivotCandidate >
static

Constructs MR::BallPivotCandidate elementwise.

Calls MR_BallPivotCandidate_ConstructFrom(). The reference to the parameter coords might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::BallPivotCandidate::BallPivotCandidate.

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

◆ coords()

auto meshlib::BallPivotCandidate::coords ( ) const -> &meshlib::PreciseVertCoords

the point's id together with its integer coordinates Returns a pointer to a member variable of class MR::BallPivotCandidate named coords.

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

◆ coords_mut()

auto meshlib::BallPivotCandidate::coords_mut ( ) -> &mut meshlib::PreciseVertCoords

the point's id together with its integer coordinates Returns a mutable pointer to a member variable of class MR::BallPivotCandidate named coords.

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

◆ cw_from_vk()

auto meshlib::BallPivotCandidate::cw_from_vk ( ) const -> &bool

orient3d( vi, vj, vk, this point ): whether the rotation around the line from vi to vj from the half-plane via vk to the half-plane via this point is clockwise Returns a pointer to a member variable of class MR::BallPivotCandidate named cwFromVk.

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

◆ cw_from_vk_mut()

auto meshlib::BallPivotCandidate::cw_from_vk_mut ( ) -> &mut bool

orient3d( vi, vj, vk, this point ): whether the rotation around the line from vi to vj from the half-plane via vk to the half-plane via this point is clockwise Returns a mutable pointer to a member variable of class MR::BallPivotCandidate named cwFromVk.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_BallPivotCandidate_DefaultConstruct().

◆ set_coords()

void meshlib::BallPivotCandidate::set_coords ( value:&meshlib::PreciseVertCoords )

the point's id together with its integer coordinates Modifies a member variable of class MR::BallPivotCandidate named coords.

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

◆ set_cw_from_vk()

void meshlib::BallPivotCandidate::set_cw_from_vk ( value:bool )

orient3d( vi, vj, vk, this point ): whether the rotation around the line from vi to vj from the half-plane via vk to the half-plane via this point is clockwise Modifies a member variable of class MR::BallPivotCandidate named cwFromVk.

Calls MR_BallPivotCandidate_Set_cwFromVk().


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