Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::MeshOrPoints_ProjectionResult) -> &mut meshlib::MeshOrPoints_ProjectionResult |
| auto | valid () const -> bool |
| auto | point () const -> &meshlib::Vector3f |
| auto | point_mut () -> &mut meshlib::Vector3f |
| void | set_point (value:meshlib::Vector3f) |
| auto | normal () const -> &meshlib::std_optional_MR_Vector3f |
| auto | normal_mut () -> &mut meshlib::std_optional_MR_Vector3f |
| void | set_normal (value:Option<&meshlib::Vector3f >) |
| auto | is_bd () const -> &bool |
| auto | is_bd_mut () -> &mut bool |
| void | set_is_bd (value:bool) |
| auto | dist_sq () const -> &f32 |
| auto | dist_sq_mut () -> &mut f32 |
| void | set_dist_sq (value:f32) |
| auto | closest_vert () const -> &meshlib::VertId |
| auto | closest_vert_mut () -> &mut meshlib::VertId |
| void | set_closest_vert (value:meshlib::VertId) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshOrPoints_ProjectionResult > |
| static auto | construct_from (point:meshlib::Vector3f, normal:Option<&meshlib::Vector3f >, isBd:bool, distSq:f32, closestVert:meshlib::VertId) -> meshlib::Owned< meshlib::MeshOrPoints_ProjectionResult > |
| static auto | construct_from_another (_other:&meshlib::MeshOrPoints_ProjectionResult) -> meshlib::Owned< meshlib::MeshOrPoints_ProjectionResult > |
| 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::MeshOrPoints::ProjectionResult.
Generated from class MR::MeshOrPoints::ProjectionResult. Heap-allocated instances are held in Owned<MeshOrPoints_ProjectionResult>.
| auto meshlib::MeshOrPoints_ProjectionResult::assign_from_another | ( | _other:&meshlib::MeshOrPoints_ProjectionResult | ) | -> &mut meshlib::MeshOrPoints_ProjectionResult |
Generated from method MR::MeshOrPoints::ProjectionResult::operator=.
Calls MR_MeshOrPoints_ProjectionResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MeshOrPoints_ProjectionResult::closest_vert | ( | ) | const -> &meshlib::VertId |
for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named closestVert.
Calls MR_MeshOrPoints_ProjectionResult_Get_closestVert(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::closest_vert_mut | ( | ) | -> &mut meshlib::VertId |
for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point Returns a mutable pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named closestVert.
Calls MR_MeshOrPoints_ProjectionResult_GetMutable_closestVert(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MeshOrPoints::ProjectionResult elementwise.
Calls MR_MeshOrPoints_ProjectionResult_ConstructFrom(). The reference to the parameter point might be preserved in the constructed object. The reference to the parameter normal might be preserved in the constructed object. The reference to the parameter closestVert might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshOrPoints::ProjectionResult::ProjectionResult.
Calls MR_MeshOrPoints_ProjectionResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshOrPoints_ProjectionResult::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::MeshOrPoints::ProjectionResult::operator bool.
Calls MR_MeshOrPoints_ProjectionResult_ConvertTo_bool().
| auto meshlib::MeshOrPoints_ProjectionResult::dist_sq | ( | ) | const -> &f32 |
squared distance from query point to the closest point Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named distSq.
Calls MR_MeshOrPoints_ProjectionResult_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::dist_sq_mut | ( | ) | -> &mut f32 |
squared distance from query point to the closest point Returns a mutable pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named distSq.
Calls MR_MeshOrPoints_ProjectionResult_GetMutable_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::is_bd | ( | ) | const -> &bool |
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region) Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named isBd.
Calls MR_MeshOrPoints_ProjectionResult_Get_isBd(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::is_bd_mut | ( | ) | -> &mut bool |
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region) Returns a mutable pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named isBd.
Calls MR_MeshOrPoints_ProjectionResult_GetMutable_isBd(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshOrPoints_ProjectionResult_DefaultConstruct().
| auto meshlib::MeshOrPoints_ProjectionResult::normal | ( | ) | const -> &meshlib::std_optional_MR_Vector3f |
normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex) Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named normal.
Calls MR_MeshOrPoints_ProjectionResult_Get_normal(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::normal_mut | ( | ) | -> &mut meshlib::std_optional_MR_Vector3f |
normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex) Returns a mutable pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named normal.
Calls MR_MeshOrPoints_ProjectionResult_GetMutable_normal(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::point | ( | ) | const -> &meshlib::Vector3f |
found closest point Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named point.
Calls MR_MeshOrPoints_ProjectionResult_Get_point(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshOrPoints_ProjectionResult::point_mut | ( | ) | -> &mut meshlib::Vector3f |
found closest point Returns a mutable pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named point.
Calls MR_MeshOrPoints_ProjectionResult_GetMutable_point(). The reference to this object might be preserved as the return value.
| void meshlib::MeshOrPoints_ProjectionResult::set_closest_vert | ( | value:meshlib::VertId | ) |
for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named closestVert.
Calls MR_MeshOrPoints_ProjectionResult_Set_closestVert(). The reference to the parameter value might be preserved in this object in element closestVert.
| void meshlib::MeshOrPoints_ProjectionResult::set_dist_sq | ( | value:f32 | ) |
squared distance from query point to the closest point Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named distSq.
Calls MR_MeshOrPoints_ProjectionResult_Set_distSq().
| void meshlib::MeshOrPoints_ProjectionResult::set_is_bd | ( | value:bool | ) |
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region) Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named isBd.
Calls MR_MeshOrPoints_ProjectionResult_Set_isBd().
| void meshlib::MeshOrPoints_ProjectionResult::set_normal | ( | value:Option<&meshlib::Vector3f > | ) |
normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex) Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named normal.
Calls MR_MeshOrPoints_ProjectionResult_Set_normal(). The reference to the parameter value might be preserved in this object in element normal.
| void meshlib::MeshOrPoints_ProjectionResult::set_point | ( | value:meshlib::Vector3f | ) |
found closest point Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named point.
Calls MR_MeshOrPoints_ProjectionResult_Set_point(). The reference to the parameter value might be preserved in this object in element point.
| auto meshlib::MeshOrPoints_ProjectionResult::valid | ( | ) | const -> bool |
Generated from method MR::MeshOrPoints::ProjectionResult::valid.
Calls MR_MeshOrPoints_ProjectionResult_valid().