Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::MeshProjectionResult) -> &mut meshlib::MeshProjectionResult |
| auto | valid () const -> bool |
| auto | proj () const -> &meshlib::PointOnFace |
| auto | proj_mut () -> &mut meshlib::PointOnFace |
| void | set_proj (value:&meshlib::PointOnFace) |
| auto | mtp () const -> &meshlib::MeshTriPoint |
| auto | mtp_mut () -> &mut meshlib::MeshTriPoint |
| void | set_mtp (value:&meshlib::MeshTriPoint) |
| 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::MeshProjectionResult > |
| static auto | construct_from (proj:&meshlib::PointOnFace, mtp:&meshlib::MeshTriPoint, distSq:f32) -> meshlib::Owned< meshlib::MeshProjectionResult > |
| static auto | construct_from_another (_other:&meshlib::MeshProjectionResult) -> meshlib::Owned< meshlib::MeshProjectionResult > |
| 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::MeshProjectionResult.
Generated from class MR::MeshProjectionResult. Heap-allocated instances are held in Owned<MeshProjectionResult>.
| auto meshlib::MeshProjectionResult::assign_from_another | ( | _other:&meshlib::MeshProjectionResult | ) | -> &mut meshlib::MeshProjectionResult |
Generated from method MR::MeshProjectionResult::operator=.
Calls MR_MeshProjectionResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MeshProjectionResult elementwise.
Calls MR_MeshProjectionResult_ConstructFrom(). The reference to the parameter proj might be preserved in the constructed object. The reference to the parameter mtp might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshProjectionResult::MeshProjectionResult.
Calls MR_MeshProjectionResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshProjectionResult::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::MeshProjectionResult::operator bool.
Calls MR_MeshProjectionResult_ConvertTo_bool().
| auto meshlib::MeshProjectionResult::dist_sq | ( | ) | const -> &f32 |
squared distance from original projected point to proj Returns a pointer to a member variable of class MR::MeshProjectionResult named distSq.
Calls MR_MeshProjectionResult_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshProjectionResult::dist_sq_mut | ( | ) | -> &mut f32 |
squared distance from original projected point to proj Returns a mutable pointer to a member variable of class MR::MeshProjectionResult named distSq.
Calls MR_MeshProjectionResult_GetMutable_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshProjectionResult::mtp | ( | ) | const -> &meshlib::MeshTriPoint |
its barycentric representation Returns a pointer to a member variable of class MR::MeshProjectionResult named mtp.
Calls MR_MeshProjectionResult_Get_mtp(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshProjectionResult::mtp_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
its barycentric representation Returns a mutable pointer to a member variable of class MR::MeshProjectionResult named mtp.
Calls MR_MeshProjectionResult_GetMutable_mtp(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshProjectionResult_DefaultConstruct().
| auto meshlib::MeshProjectionResult::proj | ( | ) | const -> &meshlib::PointOnFace |
the closest point on mesh, transformed by xf if it is given Returns a pointer to a member variable of class MR::MeshProjectionResult named proj.
Calls MR_MeshProjectionResult_Get_proj(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshProjectionResult::proj_mut | ( | ) | -> &mut meshlib::PointOnFace |
the closest point on mesh, transformed by xf if it is given Returns a mutable pointer to a member variable of class MR::MeshProjectionResult named proj.
Calls MR_MeshProjectionResult_GetMutable_proj(). The reference to this object might be preserved as the return value.
| void meshlib::MeshProjectionResult::set_dist_sq | ( | value:f32 | ) |
squared distance from original projected point to proj Modifies a member variable of class MR::MeshProjectionResult named distSq.
Calls MR_MeshProjectionResult_Set_distSq().
| void meshlib::MeshProjectionResult::set_mtp | ( | value:&meshlib::MeshTriPoint | ) |
its barycentric representation Modifies a member variable of class MR::MeshProjectionResult named mtp.
Calls MR_MeshProjectionResult_Set_mtp(). The reference to the parameter value might be preserved in this object in element mtp.
| void meshlib::MeshProjectionResult::set_proj | ( | value:&meshlib::PointOnFace | ) |
the closest point on mesh, transformed by xf if it is given Modifies a member variable of class MR::MeshProjectionResult named proj.
Calls MR_MeshProjectionResult_Set_proj(). The reference to the parameter value might be preserved in this object in element proj.
| auto meshlib::MeshProjectionResult::valid | ( | ) | const -> bool |
check for validity, otherwise the projection was not found Generated from method MR::MeshProjectionResult::valid.
Calls MR_MeshProjectionResult_valid().