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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::SegmentSegmentIntersectResult) -> &mut meshlib::SegmentSegmentIntersectResult
auto do_intersect () const -> &bool
auto do_intersect_mut () -> &mut bool
void set_do_intersect (value:bool)
auto c_is_left_from_ab () const -> &bool
auto c_is_left_from_ab_mut () -> &mut bool
void set_c_is_left_from_ab (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SegmentSegmentIntersectResult >
static auto construct_from (doIntersect:bool, cIsLeftFromAB:bool) -> meshlib::Owned< meshlib::SegmentSegmentIntersectResult >
static auto construct_from_another (_other:&meshlib::SegmentSegmentIntersectResult) -> meshlib::Owned< meshlib::SegmentSegmentIntersectResult >
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::SegmentSegmentIntersectResult.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ c_is_left_from_ab()

auto meshlib::SegmentSegmentIntersectResult::c_is_left_from_ab ( ) const -> &bool

< whether the directed line AB has C point at the left Returns a pointer to a member variable of class MR::SegmentSegmentIntersectResult named cIsLeftFromAB.

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

◆ c_is_left_from_ab_mut()

auto meshlib::SegmentSegmentIntersectResult::c_is_left_from_ab_mut ( ) -> &mut bool

< whether the directed line AB has C point at the left Returns a mutable pointer to a member variable of class MR::SegmentSegmentIntersectResult named cIsLeftFromAB.

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

◆ construct_from()

auto meshlib::SegmentSegmentIntersectResult::construct_from ( doIntersect:bool ,
cIsLeftFromAB:bool  ) -> meshlib::Owned< meshlib::SegmentSegmentIntersectResult >
static

Constructs MR::SegmentSegmentIntersectResult elementwise.

Calls MR_SegmentSegmentIntersectResult_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::SegmentSegmentIntersectResult::SegmentSegmentIntersectResult.

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

◆ convert_to_bool()

auto meshlib::SegmentSegmentIntersectResult::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::SegmentSegmentIntersectResult::operator bool.

Calls MR_SegmentSegmentIntersectResult_ConvertTo_bool().

◆ do_intersect()

auto meshlib::SegmentSegmentIntersectResult::do_intersect ( ) const -> &bool

< whether the segments intersect Returns a pointer to a member variable of class MR::SegmentSegmentIntersectResult named doIntersect.

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

◆ do_intersect_mut()

auto meshlib::SegmentSegmentIntersectResult::do_intersect_mut ( ) -> &mut bool

< whether the segments intersect Returns a mutable pointer to a member variable of class MR::SegmentSegmentIntersectResult named doIntersect.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SegmentSegmentIntersectResult_DefaultConstruct().

◆ set_c_is_left_from_ab()

void meshlib::SegmentSegmentIntersectResult::set_c_is_left_from_ab ( value:bool )

< whether the directed line AB has C point at the left Modifies a member variable of class MR::SegmentSegmentIntersectResult named cIsLeftFromAB.

Calls MR_SegmentSegmentIntersectResult_Set_cIsLeftFromAB().

◆ set_do_intersect()

void meshlib::SegmentSegmentIntersectResult::set_do_intersect ( value:bool )

< whether the segments intersect Modifies a member variable of class MR::SegmentSegmentIntersectResult named doIntersect.

Calls MR_SegmentSegmentIntersectResult_Set_doIntersect().


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