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

Public Member Functions

 MultiMeshIntersectionResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MultiMeshIntersectionResult ()
 MultiMeshIntersectionResult (meshlib.MultiMeshIntersectionResult _other)
boolean convertTo_bool ()
meshlib.MultiMeshIntersectionResult assignFromAnother (meshlib.MultiMeshIntersectionResult _other)
java.lang.foreign.MemorySegment mesh ()
void setMesh (meshlib.Mesh value)
meshlib.PointOnFace proj ()
void setProj (meshlib.PointOnFace value)
meshlib.MeshTriPoint mtp ()
void setMtp (meshlib.MeshTriPoint value)
float distanceAlongLine ()
void setDistanceAlongLine (float value)
meshlib.MeshIntersectionResult upcastToMeshIntersectionResult ()
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 ()

Static Public Member Functions

static meshlib.MultiMeshIntersectionResult staticDowncastFromMeshIntersectionResult (meshlib.MeshIntersectionResult object)

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::MultiMeshIntersectionResult. Base classes: Direct: (non-virtual) MR::MeshIntersectionResult

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

Constructor & Destructor Documentation

◆ MultiMeshIntersectionResult() [1/3]

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

◆ MultiMeshIntersectionResult() [2/3]

meshlib.MultiMeshIntersectionResult.MultiMeshIntersectionResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_MultiMeshIntersectionResult_DefaultConstruct().

◆ MultiMeshIntersectionResult() [3/3]

meshlib.MultiMeshIntersectionResult.MultiMeshIntersectionResult ( meshlib.MultiMeshIntersectionResult _other)

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

Calls MR_MultiMeshIntersectionResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MultiMeshIntersectionResult meshlib.MultiMeshIntersectionResult.assignFromAnother ( meshlib.MultiMeshIntersectionResult _other)

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

Calls MR_MultiMeshIntersectionResult_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.MultiMeshIntersectionResult.convertTo_bool ( )

check for validity Generated from conversion operator MR::MultiMeshIntersectionResult::operator bool.

Calls MR_MultiMeshIntersectionResult_ConvertTo_bool().

◆ distanceAlongLine()

float meshlib.MultiMeshIntersectionResult.distanceAlongLine ( )

stores the distance from ray origin to the intersection point in direction units Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named distanceAlongLine. The reference to this object might be preserved as the return value.

Calls MR_MultiMeshIntersectionResult_Get_distanceAlongLine().

◆ mesh()

java.lang.foreign.MemorySegment meshlib.MultiMeshIntersectionResult.mesh ( )

the intersection found in this mesh Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named mesh. The reference to this object might be preserved as the return value.

Calls MR_MultiMeshIntersectionResult_Get_mesh(). Some types are raw C types, see the C bindings for the details.

◆ mtp()

meshlib.MeshTriPoint meshlib.MultiMeshIntersectionResult.mtp ( )

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

Calls MR_MultiMeshIntersectionResult_Get_mtp().

◆ proj()

meshlib.PointOnFace meshlib.MultiMeshIntersectionResult.proj ( )

stores intersected face and global coordinates Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named proj. The reference to this object might be preserved as the return value.

Calls MR_MultiMeshIntersectionResult_Get_proj().

◆ setDistanceAlongLine()

void meshlib.MultiMeshIntersectionResult.setDistanceAlongLine ( float value)

stores the distance from ray origin to the intersection point in direction units Modifies a member variable of class MR::MultiMeshIntersectionResult named distanceAlongLine.

Calls MR_MultiMeshIntersectionResult_Set_distanceAlongLine().

◆ setMesh()

void meshlib.MultiMeshIntersectionResult.setMesh ( meshlib.Mesh value)

the intersection found in this mesh Modifies a member variable of class MR::MultiMeshIntersectionResult named mesh. The reference to the parameter value might be preserved in this object in element mesh.

Calls MR_MultiMeshIntersectionResult_Set_mesh().

◆ setMtp()

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

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

Calls MR_MultiMeshIntersectionResult_Set_mtp().

◆ setProj()

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

stores intersected face and global coordinates Modifies a member variable of class MR::MultiMeshIntersectionResult named proj. The reference to the parameter value might be preserved in this object in element proj.

Calls MR_MultiMeshIntersectionResult_Set_proj().

◆ staticDowncastFromMeshIntersectionResult()

meshlib.MultiMeshIntersectionResult meshlib.MultiMeshIntersectionResult.staticDowncastFromMeshIntersectionResult ( meshlib.MeshIntersectionResult object)
static

Static downcast from the base class MR::MeshIntersectionResult. Undefined behavior if the object isn't actually a MultiMeshIntersectionResult. The result refers to object.

Calls MR_MultiMeshIntersectionResult_MutableStaticDowncastFrom_MR_MeshIntersectionResult().

◆ upcastToMeshIntersectionResult()

meshlib.MeshIntersectionResult meshlib.MultiMeshIntersectionResult.upcastToMeshIntersectionResult ( )

Upcasts to the base class MR::MeshIntersectionResult. The result refers to this object.

Calls MR_MultiMeshIntersectionResult_MutableUpcastTo_MR_MeshIntersectionResult().


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