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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::features::MeasureResult_Angle) -> &mut meshlib::features::MeasureResult_Angle
auto point_for (b:bool) const -> meshlib::Vector3f
auto dir_for (b:bool) const -> meshlib::Vector3f
auto is_surface_normal_for (b:bool) const -> bool
auto compute_angle_in_radians () const -> f32
auto point_a () const -> &meshlib::Vector3f
auto point_a_mut () -> &mut meshlib::Vector3f
void set_point_a (value:meshlib::Vector3f)
auto point_b () const -> &meshlib::Vector3f
auto point_b_mut () -> &mut meshlib::Vector3f
void set_point_b (value:meshlib::Vector3f)
auto dir_a () const -> &meshlib::Vector3f
auto dir_a_mut () -> &mut meshlib::Vector3f
void set_dir_a (value:meshlib::Vector3f)
auto dir_b () const -> &meshlib::Vector3f
auto dir_b_mut () -> &mut meshlib::Vector3f
void set_dir_b (value:meshlib::Vector3f)
auto is_surface_normal_a () const -> &bool
auto is_surface_normal_a_mut () -> &mut bool
void set_is_surface_normal_a (value:bool)
auto is_surface_normal_b () const -> &bool
auto is_surface_normal_b_mut () -> &mut bool
void set_is_surface_normal_b (value:bool)
auto status () const -> &meshlib::features::MeasureResult_Status
auto status_mut () -> &mut meshlib::features::MeasureResult_Status
void set_status (value:meshlib::features::MeasureResult_Status)
auto upcast_to_measure_result_basic_part () const -> &meshlib::features::MeasureResult_BasicPart
auto upcast_to_measure_result_basic_part_mut () -> &mut meshlib::features::MeasureResult_BasicPart

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::features::MeasureResult_Angle >
static auto construct_from_another (_other:&meshlib::features::MeasureResult_Angle) -> meshlib::Owned< meshlib::features::MeasureResult_Angle >
static auto static_downcast_from_measure_result_basic_part (object:&meshlib::features::MeasureResult_BasicPart) -> &Self
static auto static_downcast_from_measure_result_basic_part_mut (object:&mut meshlib::features::MeasureResult_BasicPart) -> &mut Self
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::Features::MeasureResult::Angle. Base classes: Direct: (non-virtual) MR::Features::MeasureResult::BasicPart

Generated from class MR::Features::MeasureResult::Angle. Heap-allocated instances are held in Owned<MeasureResult_Angle>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::features::MeasureResult_Angle::assign_from_another ( _other:&meshlib::features::MeasureResult_Angle ) -> &mut meshlib::features::MeasureResult_Angle

Generated from method MR::Features::MeasureResult::Angle::operator=.

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

◆ compute_angle_in_radians()

auto meshlib::features::MeasureResult_Angle::compute_angle_in_radians ( ) const -> f32

Generated from method MR::Features::MeasureResult::Angle::computeAngleInRadians.

Calls MR_Features_MeasureResult_Angle_computeAngleInRadians().

◆ construct_from_another()

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

Generated from constructor MR::Features::MeasureResult::Angle::Angle.

Calls MR_Features_MeasureResult_Angle_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::features::MeasureResult_Angle::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::Features::MeasureResult::Angle::operator bool.

Calls MR_Features_MeasureResult_Angle_ConvertTo_bool().

◆ dir_a()

auto meshlib::features::MeasureResult_Angle::dir_a ( ) const -> &meshlib::Vector3f

Normalized. Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named dirA.

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

◆ dir_a_mut()

auto meshlib::features::MeasureResult_Angle::dir_a_mut ( ) -> &mut meshlib::Vector3f

Normalized. Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named dirA.

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

◆ dir_b()

auto meshlib::features::MeasureResult_Angle::dir_b ( ) const -> &meshlib::Vector3f

^ Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named dirB.

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

◆ dir_b_mut()

auto meshlib::features::MeasureResult_Angle::dir_b_mut ( ) -> &mut meshlib::Vector3f

^ Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named dirB.

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

◆ dir_for()

auto meshlib::features::MeasureResult_Angle::dir_for ( b:bool ) const -> meshlib::Vector3f

Generated from method MR::Features::MeasureResult::Angle::dirFor.

Calls MR_Features_MeasureResult_Angle_dirFor().

◆ is_surface_normal_a()

auto meshlib::features::MeasureResult_Angle::is_surface_normal_a ( ) const -> &bool

Whether dir{A,B} is a surface normal or a line direction. Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalA.

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

◆ is_surface_normal_a_mut()

auto meshlib::features::MeasureResult_Angle::is_surface_normal_a_mut ( ) -> &mut bool

Whether dir{A,B} is a surface normal or a line direction. Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalA.

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

◆ is_surface_normal_b()

auto meshlib::features::MeasureResult_Angle::is_surface_normal_b ( ) const -> &bool

Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalB.

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

◆ is_surface_normal_b_mut()

auto meshlib::features::MeasureResult_Angle::is_surface_normal_b_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalB.

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

◆ is_surface_normal_for()

auto meshlib::features::MeasureResult_Angle::is_surface_normal_for ( b:bool ) const -> bool

Generated from method MR::Features::MeasureResult::Angle::isSurfaceNormalFor.

Calls MR_Features_MeasureResult_Angle_isSurfaceNormalFor().

◆ new()

auto meshlib::features::MeasureResult_Angle::new ( ) -> meshlib::Owned< meshlib::features::MeasureResult_Angle >
static

Constructs an empty (default-constructed) instance.

Calls MR_Features_MeasureResult_Angle_DefaultConstruct().

◆ point_a()

auto meshlib::features::MeasureResult_Angle::point_a ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named pointA.

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

◆ point_a_mut()

auto meshlib::features::MeasureResult_Angle::point_a_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named pointA.

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

◆ point_b()

auto meshlib::features::MeasureResult_Angle::point_b ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named pointB.

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

◆ point_b_mut()

auto meshlib::features::MeasureResult_Angle::point_b_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named pointB.

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

◆ point_for()

auto meshlib::features::MeasureResult_Angle::point_for ( b:bool ) const -> meshlib::Vector3f

Generated from method MR::Features::MeasureResult::Angle::pointFor.

Calls MR_Features_MeasureResult_Angle_pointFor().

◆ set_dir_a()

void meshlib::features::MeasureResult_Angle::set_dir_a ( value:meshlib::Vector3f )

Normalized. Modifies a member variable of class MR::Features::MeasureResult::Angle named dirA.

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

◆ set_dir_b()

void meshlib::features::MeasureResult_Angle::set_dir_b ( value:meshlib::Vector3f )

^ Modifies a member variable of class MR::Features::MeasureResult::Angle named dirB.

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

◆ set_is_surface_normal_a()

void meshlib::features::MeasureResult_Angle::set_is_surface_normal_a ( value:bool )

Whether dir{A,B} is a surface normal or a line direction. Modifies a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalA.

Calls MR_Features_MeasureResult_Angle_Set_isSurfaceNormalA().

◆ set_is_surface_normal_b()

void meshlib::features::MeasureResult_Angle::set_is_surface_normal_b ( value:bool )

Modifies a member variable of class MR::Features::MeasureResult::Angle named isSurfaceNormalB.

Calls MR_Features_MeasureResult_Angle_Set_isSurfaceNormalB().

◆ set_point_a()

void meshlib::features::MeasureResult_Angle::set_point_a ( value:meshlib::Vector3f )

Modifies a member variable of class MR::Features::MeasureResult::Angle named pointA.

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

◆ set_point_b()

void meshlib::features::MeasureResult_Angle::set_point_b ( value:meshlib::Vector3f )

Modifies a member variable of class MR::Features::MeasureResult::Angle named pointB.

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

◆ set_status()

void meshlib::features::MeasureResult_Angle::set_status ( value:meshlib::features::MeasureResult_Status )

Modifies a member variable of class MR::Features::MeasureResult::Angle named status.

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

◆ static_downcast_from_measure_result_basic_part()

auto meshlib::features::MeasureResult_Angle::static_downcast_from_measure_result_basic_part ( object:&meshlib::features::MeasureResult_BasicPart ) -> &Self
static

Static downcast from the base class MR::Features::MeasureResult::BasicPart.

Calls MR_Features_MeasureResult_Angle_StaticDowncastFrom_MR_Features_MeasureResult_BasicPart(). Undefined behavior if the object isn't actually a MeasureResult_Angle.

Note
This function is unsafe.

◆ static_downcast_from_measure_result_basic_part_mut()

auto meshlib::features::MeasureResult_Angle::static_downcast_from_measure_result_basic_part_mut ( object:&mut meshlib::features::MeasureResult_BasicPart ) -> &mut Self
static

Static downcast from the base class MR::Features::MeasureResult::BasicPart.

Calls MR_Features_MeasureResult_Angle_MutableStaticDowncastFrom_MR_Features_MeasureResult_BasicPart(). Undefined behavior if the object isn't actually a MeasureResult_Angle.

Note
This function is unsafe.

◆ status()

auto meshlib::features::MeasureResult_Angle::status ( ) const -> &meshlib::features::MeasureResult_Status

Returns a pointer to a member variable of class MR::Features::MeasureResult::Angle named status.

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

◆ status_mut()

auto meshlib::features::MeasureResult_Angle::status_mut ( ) -> &mut meshlib::features::MeasureResult_Status

Returns a mutable pointer to a member variable of class MR::Features::MeasureResult::Angle named status.

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

◆ upcast_to_measure_result_basic_part()

auto meshlib::features::MeasureResult_Angle::upcast_to_measure_result_basic_part ( ) const -> &meshlib::features::MeasureResult_BasicPart

Upcasts to the base class MR::Features::MeasureResult::BasicPart.

Calls MR_Features_MeasureResult_Angle_UpcastTo_MR_Features_MeasureResult_BasicPart().

◆ upcast_to_measure_result_basic_part_mut()

auto meshlib::features::MeasureResult_Angle::upcast_to_measure_result_basic_part_mut ( ) -> &mut meshlib::features::MeasureResult_BasicPart

Upcasts to the base class MR::Features::MeasureResult::BasicPart.

Calls MR_Features_MeasureResult_Angle_MutableUpcastTo_MR_Features_MeasureResult_BasicPart().


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