Public Member Functions | |
| MeshMeshDistanceResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| MeshMeshDistanceResult () | |
| MeshMeshDistanceResult (meshlib.MeshProjectionResult a, meshlib.MeshProjectionResult b, float distSq) | |
| MeshMeshDistanceResult (meshlib.MeshMeshDistanceResult _other) | |
| meshlib.MeshMeshDistanceResult | assignFromAnother (meshlib.MeshMeshDistanceResult _other) |
| meshlib.MeshProjectionResult | a () |
| void | setA (meshlib.MeshProjectionResult value) |
| meshlib.MeshProjectionResult | b () |
| void | setB (meshlib.MeshProjectionResult value) |
| float | distSq () |
| void | setDistSq (float value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
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::MeshMeshDistanceResult.
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshMeshDistanceResult.MeshMeshDistanceResult | ( | 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.MeshMeshDistanceResult.MeshMeshDistanceResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshMeshDistanceResult_DefaultConstruct().
| meshlib.MeshMeshDistanceResult.MeshMeshDistanceResult | ( | meshlib.MeshProjectionResult | a, |
| meshlib.MeshProjectionResult | b, | ||
| float | distSq ) |
Constructs MR::MeshMeshDistanceResult elementwise. 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.
Calls MR_MeshMeshDistanceResult_ConstructFrom().
| meshlib.MeshMeshDistanceResult.MeshMeshDistanceResult | ( | meshlib.MeshMeshDistanceResult | _other | ) |
Generated from constructor MR::MeshMeshDistanceResult::MeshMeshDistanceResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshMeshDistanceResult_ConstructFromAnother().
| meshlib.MeshProjectionResult meshlib.MeshMeshDistanceResult.a | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshMeshDistanceResult_Get_a().
| meshlib.MeshMeshDistanceResult meshlib.MeshMeshDistanceResult.assignFromAnother | ( | meshlib.MeshMeshDistanceResult | _other | ) |
Generated from method MR::MeshMeshDistanceResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshMeshDistanceResult_AssignFromAnother().
| meshlib.MeshProjectionResult meshlib.MeshMeshDistanceResult.b | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshMeshDistanceResult_Get_b().
| float meshlib.MeshMeshDistanceResult.distSq | ( | ) |
squared distance between a and b Returns a pointer to a member variable of class MR::MeshMeshDistanceResult named distSq. The reference to this object might be preserved as the return value.
Calls MR_MeshMeshDistanceResult_Get_distSq().
| void meshlib.MeshMeshDistanceResult.setA | ( | meshlib.MeshProjectionResult | value | ) |
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. The reference to the parameter value might be preserved in this object in element a.
Calls MR_MeshMeshDistanceResult_Set_a().
| void meshlib.MeshMeshDistanceResult.setB | ( | meshlib.MeshProjectionResult | value | ) |
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. The reference to the parameter value might be preserved in this object in element b.
Calls MR_MeshMeshDistanceResult_Set_b().
| void meshlib.MeshMeshDistanceResult.setDistSq | ( | float | value | ) |
squared distance between a and b Modifies a member variable of class MR::MeshMeshDistanceResult named distSq.
Calls MR_MeshMeshDistanceResult_Set_distSq().