Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::MeshIntersectionResult) -> &mut meshlib::MeshIntersectionResult |
| 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 | distance_along_line () const -> &f32 |
| auto | distance_along_line_mut () -> &mut f32 |
| void | set_distance_along_line (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshIntersectionResult > |
| static auto | construct_from (proj:&meshlib::PointOnFace, mtp:&meshlib::MeshTriPoint, distanceAlongLine:f32) -> meshlib::Owned< meshlib::MeshIntersectionResult > |
| static auto | construct_from_another (_other:&meshlib::MeshIntersectionResult) -> meshlib::Owned< meshlib::MeshIntersectionResult > |
| 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::MeshIntersectionResult. Derived classes: Direct: (non-virtual) MR::MultiMeshIntersectionResult
Generated from class MR::MeshIntersectionResult. Heap-allocated instances are held in Owned<MeshIntersectionResult>.
| auto meshlib::MeshIntersectionResult::assign_from_another | ( | _other:&meshlib::MeshIntersectionResult | ) | -> &mut meshlib::MeshIntersectionResult |
Generated from method MR::MeshIntersectionResult::operator=.
Calls MR_MeshIntersectionResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MeshIntersectionResult elementwise.
Calls MR_MeshIntersectionResult_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::MeshIntersectionResult::MeshIntersectionResult.
Calls MR_MeshIntersectionResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshIntersectionResult::convert_to_bool | ( | ) | const -> bool |
check for validity Generated from conversion operator MR::MeshIntersectionResult::operator bool.
Calls MR_MeshIntersectionResult_ConvertTo_bool().
| auto meshlib::MeshIntersectionResult::distance_along_line | ( | ) | const -> &f32 |
stores the distance from ray origin to the intersection point in direction units Returns a pointer to a member variable of class MR::MeshIntersectionResult named distanceAlongLine.
Calls MR_MeshIntersectionResult_Get_distanceAlongLine(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshIntersectionResult::distance_along_line_mut | ( | ) | -> &mut f32 |
stores the distance from ray origin to the intersection point in direction units Returns a mutable pointer to a member variable of class MR::MeshIntersectionResult named distanceAlongLine.
Calls MR_MeshIntersectionResult_GetMutable_distanceAlongLine(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshIntersectionResult::mtp | ( | ) | const -> &meshlib::MeshTriPoint |
stores barycentric coordinates Returns a pointer to a member variable of class MR::MeshIntersectionResult named mtp.
Calls MR_MeshIntersectionResult_Get_mtp(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshIntersectionResult::mtp_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
stores barycentric coordinates Returns a mutable pointer to a member variable of class MR::MeshIntersectionResult named mtp.
Calls MR_MeshIntersectionResult_GetMutable_mtp(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshIntersectionResult_DefaultConstruct().
| auto meshlib::MeshIntersectionResult::proj | ( | ) | const -> &meshlib::PointOnFace |
stores intersected face and global coordinates Returns a pointer to a member variable of class MR::MeshIntersectionResult named proj.
Calls MR_MeshIntersectionResult_Get_proj(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshIntersectionResult::proj_mut | ( | ) | -> &mut meshlib::PointOnFace |
stores intersected face and global coordinates Returns a mutable pointer to a member variable of class MR::MeshIntersectionResult named proj.
Calls MR_MeshIntersectionResult_GetMutable_proj(). The reference to this object might be preserved as the return value.
| void meshlib::MeshIntersectionResult::set_distance_along_line | ( | value:f32 | ) |
stores the distance from ray origin to the intersection point in direction units Modifies a member variable of class MR::MeshIntersectionResult named distanceAlongLine.
Calls MR_MeshIntersectionResult_Set_distanceAlongLine().
| void meshlib::MeshIntersectionResult::set_mtp | ( | value:&meshlib::MeshTriPoint | ) |
stores barycentric coordinates Modifies a member variable of class MR::MeshIntersectionResult named mtp.
Calls MR_MeshIntersectionResult_Set_mtp(). The reference to the parameter value might be preserved in this object in element mtp.
| void meshlib::MeshIntersectionResult::set_proj | ( | value:&meshlib::PointOnFace | ) |
stores intersected face and global coordinates Modifies a member variable of class MR::MeshIntersectionResult named proj.
Calls MR_MeshIntersectionResult_Set_proj(). The reference to the parameter value might be preserved in this object in element proj.