Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::features::MeasureResult > |
| static auto | construct_from (distance:&meshlib::features::MeasureResult_Distance, centerDistance:&meshlib::features::MeasureResult_Distance, angle:&meshlib::features::MeasureResult_Angle, intersections:&meshlib::std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane) -> meshlib::Owned< meshlib::features::MeasureResult > |
| static auto | construct_from_another (_other:&meshlib::features::MeasureResult) -> meshlib::Owned< meshlib::features::MeasureResult > |
| 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 |
Stores the results of measuring two objects relative to one another. Generated from class MR::Features::MeasureResult.
Generated from class MR::Features::MeasureResult. Heap-allocated instances are held in Owned<MeasureResult>.
| auto meshlib::features::MeasureResult::angle | ( | ) | const -> &meshlib::features::MeasureResult_Angle |
Returns a pointer to a member variable of class MR::Features::MeasureResult named angle.
Calls MR_Features_MeasureResult_Get_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::angle_mut | ( | ) | -> &mut meshlib::features::MeasureResult_Angle |
Returns a mutable pointer to a member variable of class MR::Features::MeasureResult named angle.
Calls MR_Features_MeasureResult_GetMutable_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::assign_from_another | ( | _other:&meshlib::features::MeasureResult | ) | -> &mut meshlib::features::MeasureResult |
Generated from method MR::Features::MeasureResult::operator=.
Calls MR_Features_MeasureResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::features::MeasureResult::center_distance | ( | ) | const -> &meshlib::features::MeasureResult_Distance |
Some approximation of the distance. For planes and lines, this expects them to be mostly parallel. For everything else, it just takes the feature center. Returns a pointer to a member variable of class MR::Features::MeasureResult named centerDistance.
Calls MR_Features_MeasureResult_Get_centerDistance(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::center_distance_mut | ( | ) | -> &mut meshlib::features::MeasureResult_Distance |
Some approximation of the distance. For planes and lines, this expects them to be mostly parallel. For everything else, it just takes the feature center. Returns a mutable pointer to a member variable of class MR::Features::MeasureResult named centerDistance.
Calls MR_Features_MeasureResult_GetMutable_centerDistance(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::Features::MeasureResult elementwise.
Calls MR_Features_MeasureResult_ConstructFrom(). The reference to the parameter distance might be preserved in the constructed object. The reference to the parameter centerDistance might be preserved in the constructed object. The reference to the parameter angle might be preserved in the constructed object. The reference to the parameter intersections might be preserved in the constructed object.
|
static |
Generated from constructor MR::Features::MeasureResult::MeasureResult.
Calls MR_Features_MeasureResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::features::MeasureResult::distance | ( | ) | const -> &meshlib::features::MeasureResult_Distance |
Exact distance. Returns a pointer to a member variable of class MR::Features::MeasureResult named distance.
Calls MR_Features_MeasureResult_Get_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::distance_mut | ( | ) | -> &mut meshlib::features::MeasureResult_Distance |
Exact distance. Returns a mutable pointer to a member variable of class MR::Features::MeasureResult named distance.
Calls MR_Features_MeasureResult_GetMutable_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::intersections | ( | ) | const -> &meshlib::std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane |
The primitives obtained from intersecting those two. Returns a pointer to a member variable of class MR::Features::MeasureResult named intersections.
Calls MR_Features_MeasureResult_Get_intersections(). The reference to this object might be preserved as the return value.
| auto meshlib::features::MeasureResult::intersections_mut | ( | ) | -> &mut meshlib::std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane |
The primitives obtained from intersecting those two. Returns a mutable pointer to a member variable of class MR::Features::MeasureResult named intersections.
Calls MR_Features_MeasureResult_GetMutable_intersections(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Features_MeasureResult_DefaultConstruct().
| void meshlib::features::MeasureResult::set_angle | ( | value:&meshlib::features::MeasureResult_Angle | ) |
Modifies a member variable of class MR::Features::MeasureResult named angle.
Calls MR_Features_MeasureResult_Set_angle(). The reference to the parameter value might be preserved in this object in element angle.
| void meshlib::features::MeasureResult::set_center_distance | ( | value:&meshlib::features::MeasureResult_Distance | ) |
Some approximation of the distance. For planes and lines, this expects them to be mostly parallel. For everything else, it just takes the feature center. Modifies a member variable of class MR::Features::MeasureResult named centerDistance.
Calls MR_Features_MeasureResult_Set_centerDistance(). The reference to the parameter value might be preserved in this object in element centerDistance.
| void meshlib::features::MeasureResult::set_distance | ( | value:&meshlib::features::MeasureResult_Distance | ) |
Exact distance. Modifies a member variable of class MR::Features::MeasureResult named distance.
Calls MR_Features_MeasureResult_Set_distance(). The reference to the parameter value might be preserved in this object in element distance.
| void meshlib::features::MeasureResult::set_intersections | ( | value:&meshlib::std_vector_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane | ) |
The primitives obtained from intersecting those two. Modifies a member variable of class MR::Features::MeasureResult named intersections.
Calls MR_Features_MeasureResult_Set_intersections(). The reference to the parameter value might be preserved in this object in element intersections.
| void meshlib::features::MeasureResult::swap_objects | ( | ) |
Modifies the object to swap A and B; Generated from method MR::Features::MeasureResult::swapObjects.
Calls MR_Features_MeasureResult_swapObjects().