MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MeshProjectionResult Class Reference
Inheritance diagram for meshlib.MeshProjectionResult:

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)

Detailed Description

Generated from class MR::MeshProjectionResult.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MeshProjectionResult() [1/4]

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.

◆ MeshProjectionResult() [2/4]

meshlib.MeshProjectionResult.MeshProjectionResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshProjectionResult_DefaultConstruct().

◆ MeshProjectionResult() [3/4]

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().

◆ MeshProjectionResult() [4/4]

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().

Member Function Documentation

◆ assignFromAnother()

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().

◆ convertTo_bool()

boolean meshlib.MeshProjectionResult.convertTo_bool ( )

Generated from conversion operator MR::MeshProjectionResult::operator bool.

Calls MR_MeshProjectionResult_ConvertTo_bool().

◆ distSq()

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().

◆ mtp()

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().

◆ proj()

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().

◆ setDistSq()

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().

◆ setMtp()

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().

◆ setProj()

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().

◆ valid()

boolean meshlib.MeshProjectionResult.valid ( )

check for validity, otherwise the projection was not found Generated from method MR::MeshProjectionResult::valid.

Calls MR_MeshProjectionResult_valid().


The documentation for this class was generated from the following file: