Public Member Functions | |
| MeshProjectionResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| MeshProjectionResult () | |
| MeshProjectionResult (meshlib.PointOnFace proj, meshlib.MeshTriPoint mtp, float distSq) | |
| MeshProjectionResult (meshlib.MeshProjectionResult _other) | |
| boolean | convertTo_bool () |
| meshlib.MeshProjectionResult | assignFromAnother (meshlib.MeshProjectionResult _other) |
| boolean | valid () |
| meshlib.PointOnFace | proj () |
| void | setProj (meshlib.PointOnFace value) |
| meshlib.MeshTriPoint | mtp () |
| void | setMtp (meshlib.MeshTriPoint 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::MeshProjectionResult.
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshProjectionResult.MeshProjectionResult | ( | 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.MeshProjectionResult.MeshProjectionResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshProjectionResult_DefaultConstruct().
| meshlib.MeshProjectionResult.MeshProjectionResult | ( | meshlib.PointOnFace | proj, |
| meshlib.MeshTriPoint | mtp, | ||
| float | distSq ) |
Constructs MR::MeshProjectionResult elementwise. 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.
Calls MR_MeshProjectionResult_ConstructFrom().
| meshlib.MeshProjectionResult.MeshProjectionResult | ( | meshlib.MeshProjectionResult | _other | ) |
Generated from constructor MR::MeshProjectionResult::MeshProjectionResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshProjectionResult_ConstructFromAnother().
| meshlib.MeshProjectionResult meshlib.MeshProjectionResult.assignFromAnother | ( | meshlib.MeshProjectionResult | _other | ) |
Generated from method MR::MeshProjectionResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshProjectionResult_AssignFromAnother().
| boolean meshlib.MeshProjectionResult.convertTo_bool | ( | ) |
Generated from conversion operator MR::MeshProjectionResult::operator bool.
Calls MR_MeshProjectionResult_ConvertTo_bool().
| float meshlib.MeshProjectionResult.distSq | ( | ) |
squared distance from original projected point to proj Returns a pointer to a member variable of class MR::MeshProjectionResult named distSq. The reference to this object might be preserved as the return value.
Calls MR_MeshProjectionResult_Get_distSq().
| meshlib.MeshTriPoint meshlib.MeshProjectionResult.mtp | ( | ) |
its barycentric representation Returns a pointer to a member variable of class MR::MeshProjectionResult named mtp. The reference to this object might be preserved as the return value.
Calls MR_MeshProjectionResult_Get_mtp().
| meshlib.PointOnFace meshlib.MeshProjectionResult.proj | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshProjectionResult_Get_proj().
| void meshlib.MeshProjectionResult.setDistSq | ( | float | value | ) |
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.setMtp | ( | meshlib.MeshTriPoint | value | ) |
its barycentric representation Modifies a member variable of class MR::MeshProjectionResult named mtp. The reference to the parameter value might be preserved in this object in element mtp.
Calls MR_MeshProjectionResult_Set_mtp().
| void meshlib.MeshProjectionResult.setProj | ( | meshlib.PointOnFace | value | ) |
the closest point on mesh, transformed by xf if it is given Modifies a member variable of class MR::MeshProjectionResult named proj. The reference to the parameter value might be preserved in this object in element proj.
Calls MR_MeshProjectionResult_Set_proj().
| boolean meshlib.MeshProjectionResult.valid | ( | ) |
check for validity, otherwise the projection was not found Generated from method MR::MeshProjectionResult::valid.
Calls MR_MeshProjectionResult_valid().