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

Public Member Functions

 MeshMeshSignedDistanceResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshMeshSignedDistanceResult ()
 MeshMeshSignedDistanceResult (meshlib.MeshProjectionResult a, meshlib.MeshProjectionResult b, meshlib.MeshMeshCollisionStatus status, float signedDist)
 MeshMeshSignedDistanceResult (meshlib.MeshMeshSignedDistanceResult _other)
meshlib.MeshMeshSignedDistanceResult assignFromAnother (meshlib.MeshMeshSignedDistanceResult _other)
meshlib.MeshProjectionResult a ()
void setA (meshlib.MeshProjectionResult value)
meshlib.MeshProjectionResult b ()
void setB (meshlib.MeshProjectionResult value)
meshlib.MeshMeshCollisionStatus status ()
void setStatus (meshlib.MeshMeshCollisionStatus value)
float signedDist ()
void setSignedDist (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::MeshMeshSignedDistanceResult.

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

Constructor & Destructor Documentation

◆ MeshMeshSignedDistanceResult() [1/4]

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

◆ MeshMeshSignedDistanceResult() [2/4]

meshlib.MeshMeshSignedDistanceResult.MeshMeshSignedDistanceResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshMeshSignedDistanceResult_DefaultConstruct().

◆ MeshMeshSignedDistanceResult() [3/4]

meshlib.MeshMeshSignedDistanceResult.MeshMeshSignedDistanceResult ( meshlib.MeshProjectionResult a,
meshlib.MeshProjectionResult b,
meshlib.MeshMeshCollisionStatus status,
float signedDist )

Constructs MR::MeshMeshSignedDistanceResult 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. The reference to the parameter status might be preserved in the constructed object.

Calls MR_MeshMeshSignedDistanceResult_ConstructFrom().

◆ MeshMeshSignedDistanceResult() [4/4]

meshlib.MeshMeshSignedDistanceResult.MeshMeshSignedDistanceResult ( meshlib.MeshMeshSignedDistanceResult _other)

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

Calls MR_MeshMeshSignedDistanceResult_ConstructFromAnother().

Member Function Documentation

◆ a()

meshlib.MeshProjectionResult meshlib.MeshMeshSignedDistanceResult.a ( )

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named a. The reference to this object might be preserved as the return value.

Calls MR_MeshMeshSignedDistanceResult_Get_a().

◆ assignFromAnother()

meshlib.MeshMeshSignedDistanceResult meshlib.MeshMeshSignedDistanceResult.assignFromAnother ( meshlib.MeshMeshSignedDistanceResult _other)

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

Calls MR_MeshMeshSignedDistanceResult_AssignFromAnother().

◆ b()

meshlib.MeshProjectionResult meshlib.MeshMeshSignedDistanceResult.b ( )

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named b. The reference to this object might be preserved as the return value.

Calls MR_MeshMeshSignedDistanceResult_Get_b().

◆ setA()

void meshlib.MeshMeshSignedDistanceResult.setA ( meshlib.MeshProjectionResult value)

two closest points: from meshes A and B respectively, each one as the projection of the other point Modifies a member variable of class MR::MeshMeshSignedDistanceResult named a. The reference to the parameter value might be preserved in this object in element a.

Calls MR_MeshMeshSignedDistanceResult_Set_a().

◆ setB()

void meshlib.MeshMeshSignedDistanceResult.setB ( meshlib.MeshProjectionResult value)

two closest points: from meshes A and B respectively, each one as the projection of the other point Modifies a member variable of class MR::MeshMeshSignedDistanceResult named b. The reference to the parameter value might be preserved in this object in element b.

Calls MR_MeshMeshSignedDistanceResult_Set_b().

◆ setSignedDist()

void meshlib.MeshMeshSignedDistanceResult.setSignedDist ( float value)

signed distance between a and b, positive if meshes do not collide Modifies a member variable of class MR::MeshMeshSignedDistanceResult named signedDist.

Calls MR_MeshMeshSignedDistanceResult_Set_signedDist().

◆ setStatus()

void meshlib.MeshMeshSignedDistanceResult.setStatus ( meshlib.MeshMeshCollisionStatus value)

mutual status of two meshes Modifies a member variable of class MR::MeshMeshSignedDistanceResult named status. The reference to the parameter value might be preserved in this object in element status.

Calls MR_MeshMeshSignedDistanceResult_Set_status().

◆ signedDist()

float meshlib.MeshMeshSignedDistanceResult.signedDist ( )

signed distance between a and b, positive if meshes do not collide Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named signedDist. The reference to this object might be preserved as the return value.

Calls MR_MeshMeshSignedDistanceResult_Get_signedDist().

◆ status()

meshlib.MeshMeshCollisionStatus meshlib.MeshMeshSignedDistanceResult.status ( )

mutual status of two meshes Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named status. The reference to this object might be preserved as the return value.

Calls MR_MeshMeshSignedDistanceResult_Get_status().


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