Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Generated from class MR::MeshOrPoints::ProjectionResult.
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshOrPoints_ProjectionResult.MeshOrPoints_ProjectionResult | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.MeshOrPoints_ProjectionResult.MeshOrPoints_ProjectionResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshOrPoints_ProjectionResult_DefaultConstruct().
| meshlib.MeshOrPoints_ProjectionResult.MeshOrPoints_ProjectionResult | ( | meshlib.Vector3f | point, |
| meshlib.Vector3f | normal, | ||
| boolean | isBd, | ||
| float | distSq, | ||
| meshlib.VertId | closestVert ) |
Constructs MR::MeshOrPoints::ProjectionResult elementwise. 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.
Calls MR_MeshOrPoints_ProjectionResult_ConstructFrom().
| meshlib.MeshOrPoints_ProjectionResult.MeshOrPoints_ProjectionResult | ( | meshlib.MeshOrPoints_ProjectionResult | _other | ) |
Generated from constructor MR::MeshOrPoints::ProjectionResult::ProjectionResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshOrPoints_ProjectionResult_ConstructFromAnother().
| meshlib.MeshOrPoints_ProjectionResult meshlib.MeshOrPoints_ProjectionResult.assignFromAnother | ( | meshlib.MeshOrPoints_ProjectionResult | _other | ) |
Generated from method MR::MeshOrPoints::ProjectionResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshOrPoints_ProjectionResult_AssignFromAnother().
| meshlib.VertId meshlib.MeshOrPoints_ProjectionResult.closestVert | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshOrPoints_ProjectionResult_Get_closestVert().
| boolean meshlib.MeshOrPoints_ProjectionResult.convertTo_bool | ( | ) |
Generated from conversion operator MR::MeshOrPoints::ProjectionResult::operator bool.
Calls MR_MeshOrPoints_ProjectionResult_ConvertTo_bool().
| float meshlib.MeshOrPoints_ProjectionResult.distSq | ( | ) |
squared distance from query point to the closest point Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named distSq. The reference to this object might be preserved as the return value.
Calls MR_MeshOrPoints_ProjectionResult_Get_distSq().
| boolean meshlib.MeshOrPoints_ProjectionResult.isBd | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshOrPoints_ProjectionResult_Get_isBd().
| meshlib.std_optional_MR_Vector3f meshlib.MeshOrPoints_ProjectionResult.normal | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshOrPoints_ProjectionResult_Get_normal().
| meshlib.Vector3f meshlib.MeshOrPoints_ProjectionResult.point | ( | ) |
found closest point Returns a pointer to a member variable of class MR::MeshOrPoints::ProjectionResult named point. The reference to this object might be preserved as the return value.
Calls MR_MeshOrPoints_ProjectionResult_Get_point().
| void meshlib.MeshOrPoints_ProjectionResult.setClosestVert | ( | meshlib.VertId | value | ) |
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. The reference to the parameter value might be preserved in this object in element closestVert.
Calls MR_MeshOrPoints_ProjectionResult_Set_closestVert().
| void meshlib.MeshOrPoints_ProjectionResult.setDistSq | ( | float | value | ) |
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.setIsBd | ( | boolean | value | ) |
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.setNormal | ( | meshlib.Vector3f | value | ) |
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. The reference to the parameter value might be preserved in this object in element normal.
Calls MR_MeshOrPoints_ProjectionResult_Set_normal().
| void meshlib.MeshOrPoints_ProjectionResult.setPoint | ( | meshlib.Vector3f | value | ) |
found closest point Modifies a member variable of class MR::MeshOrPoints::ProjectionResult named point. The reference to the parameter value might be preserved in this object in element point.
Calls MR_MeshOrPoints_ProjectionResult_Set_point().
| boolean meshlib.MeshOrPoints_ProjectionResult.valid | ( | ) |
Generated from method MR::MeshOrPoints::ProjectionResult::valid.
Calls MR_MeshOrPoints_ProjectionResult_valid().