Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MeshMeshDistanceResult) -> &mut meshlib::MeshMeshDistanceResult |
| auto | a () const -> &meshlib::MeshProjectionResult |
| auto | a_mut () -> &mut meshlib::MeshProjectionResult |
| void | set_a (value:&meshlib::MeshProjectionResult) |
| auto | b () const -> &meshlib::MeshProjectionResult |
| auto | b_mut () -> &mut meshlib::MeshProjectionResult |
| void | set_b (value:&meshlib::MeshProjectionResult) |
| auto | dist_sq () const -> &f32 |
| auto | dist_sq_mut () -> &mut f32 |
| void | set_dist_sq (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshMeshDistanceResult > |
| static auto | construct_from (a:&meshlib::MeshProjectionResult, b:&meshlib::MeshProjectionResult, distSq:f32) -> meshlib::Owned< meshlib::MeshMeshDistanceResult > |
| static auto | construct_from_another (_other:&meshlib::MeshMeshDistanceResult) -> meshlib::Owned< meshlib::MeshMeshDistanceResult > |
| 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 |
Generated from class MR::MeshMeshDistanceResult.
Generated from class MR::MeshMeshDistanceResult. Heap-allocated instances are held in Owned<MeshMeshDistanceResult>.
| auto meshlib::MeshMeshDistanceResult::a | ( | ) | const -> &meshlib::MeshProjectionResult |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Returns a pointer to a member variable of class MR::MeshMeshDistanceResult named a.
Calls MR_MeshMeshDistanceResult_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshMeshDistanceResult::a_mut | ( | ) | -> &mut meshlib::MeshProjectionResult |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Returns a mutable pointer to a member variable of class MR::MeshMeshDistanceResult named a.
Calls MR_MeshMeshDistanceResult_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshMeshDistanceResult::assign_from_another | ( | _other:&meshlib::MeshMeshDistanceResult | ) | -> &mut meshlib::MeshMeshDistanceResult |
Generated from method MR::MeshMeshDistanceResult::operator=.
Calls MR_MeshMeshDistanceResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MeshMeshDistanceResult::b | ( | ) | const -> &meshlib::MeshProjectionResult |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Returns a pointer to a member variable of class MR::MeshMeshDistanceResult named b.
Calls MR_MeshMeshDistanceResult_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshMeshDistanceResult::b_mut | ( | ) | -> &mut meshlib::MeshProjectionResult |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Returns a mutable pointer to a member variable of class MR::MeshMeshDistanceResult named b.
Calls MR_MeshMeshDistanceResult_GetMutable_b(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MeshMeshDistanceResult elementwise.
Calls MR_MeshMeshDistanceResult_ConstructFrom(). The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshMeshDistanceResult::MeshMeshDistanceResult.
Calls MR_MeshMeshDistanceResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshMeshDistanceResult::dist_sq | ( | ) | const -> &f32 |
squared distance between a and b Returns a pointer to a member variable of class MR::MeshMeshDistanceResult named distSq.
Calls MR_MeshMeshDistanceResult_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshMeshDistanceResult::dist_sq_mut | ( | ) | -> &mut f32 |
squared distance between a and b Returns a mutable pointer to a member variable of class MR::MeshMeshDistanceResult named distSq.
Calls MR_MeshMeshDistanceResult_GetMutable_distSq(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshMeshDistanceResult_DefaultConstruct().
| void meshlib::MeshMeshDistanceResult::set_a | ( | value:&meshlib::MeshProjectionResult | ) |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Modifies a member variable of class MR::MeshMeshDistanceResult named a.
Calls MR_MeshMeshDistanceResult_Set_a(). The reference to the parameter value might be preserved in this object in element a.
| void meshlib::MeshMeshDistanceResult::set_b | ( | value:&meshlib::MeshProjectionResult | ) |
two closest points: from meshes A and B respectively, each one as the projection of the other point; unlike the conversion of a point's position, its barycentric coordinates place it exactly on the edge or in the vertex where it was found Modifies a member variable of class MR::MeshMeshDistanceResult named b.
Calls MR_MeshMeshDistanceResult_Set_b(). The reference to the parameter value might be preserved in this object in element b.
| void meshlib::MeshMeshDistanceResult::set_dist_sq | ( | value:f32 | ) |
squared distance between a and b Modifies a member variable of class MR::MeshMeshDistanceResult named distSq.
Calls MR_MeshMeshDistanceResult_Set_distSq().