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

Public Member Functions

 SignedDistanceToMeshResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SignedDistanceToMeshResult ()
 SignedDistanceToMeshResult (meshlib.PointOnFace proj, meshlib.MeshTriPoint mtp, float dist)
 SignedDistanceToMeshResult (meshlib.SignedDistanceToMeshResult _other)
meshlib.SignedDistanceToMeshResult assignFromAnother (meshlib.SignedDistanceToMeshResult _other)
meshlib.PointOnFace proj ()
void setProj (meshlib.PointOnFace value)
meshlib.MeshTriPoint mtp ()
void setMtp (meshlib.MeshTriPoint value)
float dist ()
void setDist (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::SignedDistanceToMeshResult.

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

Constructor & Destructor Documentation

◆ SignedDistanceToMeshResult() [1/4]

meshlib.SignedDistanceToMeshResult.SignedDistanceToMeshResult ( 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.

◆ SignedDistanceToMeshResult() [2/4]

meshlib.SignedDistanceToMeshResult.SignedDistanceToMeshResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_SignedDistanceToMeshResult_DefaultConstruct().

◆ SignedDistanceToMeshResult() [3/4]

meshlib.SignedDistanceToMeshResult.SignedDistanceToMeshResult ( meshlib.PointOnFace proj,
meshlib.MeshTriPoint mtp,
float dist )

Constructs MR::SignedDistanceToMeshResult 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_SignedDistanceToMeshResult_ConstructFrom().

◆ SignedDistanceToMeshResult() [4/4]

meshlib.SignedDistanceToMeshResult.SignedDistanceToMeshResult ( meshlib.SignedDistanceToMeshResult _other)

Generated from constructor MR::SignedDistanceToMeshResult::SignedDistanceToMeshResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_SignedDistanceToMeshResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SignedDistanceToMeshResult meshlib.SignedDistanceToMeshResult.assignFromAnother ( meshlib.SignedDistanceToMeshResult _other)

Generated from method MR::SignedDistanceToMeshResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_SignedDistanceToMeshResult_AssignFromAnother().

◆ dist()

float meshlib.SignedDistanceToMeshResult.dist ( )

distance from pt to proj (positive - outside, negative - inside the mesh) Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named dist. The reference to this object might be preserved as the return value.

Calls MR_SignedDistanceToMeshResult_Get_dist().

◆ mtp()

meshlib.MeshTriPoint meshlib.SignedDistanceToMeshResult.mtp ( )

its barycentric representation Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named mtp. The reference to this object might be preserved as the return value.

Calls MR_SignedDistanceToMeshResult_Get_mtp().

◆ proj()

meshlib.PointOnFace meshlib.SignedDistanceToMeshResult.proj ( )

the closest point on mesh Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named proj. The reference to this object might be preserved as the return value.

Calls MR_SignedDistanceToMeshResult_Get_proj().

◆ setDist()

void meshlib.SignedDistanceToMeshResult.setDist ( float value)

distance from pt to proj (positive - outside, negative - inside the mesh) Modifies a member variable of class MR::SignedDistanceToMeshResult named dist.

Calls MR_SignedDistanceToMeshResult_Set_dist().

◆ setMtp()

void meshlib.SignedDistanceToMeshResult.setMtp ( meshlib.MeshTriPoint value)

its barycentric representation Modifies a member variable of class MR::SignedDistanceToMeshResult named mtp. The reference to the parameter value might be preserved in this object in element mtp.

Calls MR_SignedDistanceToMeshResult_Set_mtp().

◆ setProj()

void meshlib.SignedDistanceToMeshResult.setProj ( meshlib.PointOnFace value)

the closest point on mesh Modifies a member variable of class MR::SignedDistanceToMeshResult named proj. The reference to the parameter value might be preserved in this object in element proj.

Calls MR_SignedDistanceToMeshResult_Set_proj().


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