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

Public Member Functions

 MultiRayMeshIntersectResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MultiRayMeshIntersectResult ()
 MultiRayMeshIntersectResult (meshlib.BitSet intersectingRays, meshlib.std_vector_float rayDistances, meshlib.std_vector_MR_FaceId isectFaces, meshlib.std_vector_MR_TriPointf isectBary, meshlib.std_vector_MR_Vector3f isectPts)
 MultiRayMeshIntersectResult (meshlib.MultiRayMeshIntersectResult _other)
meshlib.MultiRayMeshIntersectResult assignFromAnother (meshlib.MultiRayMeshIntersectResult _other)
java.lang.foreign.MemorySegment intersectingRays ()
void setIntersectingRays (meshlib.BitSet value)
java.lang.foreign.MemorySegment rayDistances ()
void setRayDistances (meshlib.std_vector_float value)
java.lang.foreign.MemorySegment isectFaces ()
void setIsectFaces (meshlib.std_vector_MR_FaceId value)
java.lang.foreign.MemorySegment isectBary ()
void setIsectBary (meshlib.std_vector_MR_TriPointf value)
java.lang.foreign.MemorySegment isectPts ()
void setIsectPts (meshlib.std_vector_MR_Vector3f 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::MultiRayMeshIntersectResult.

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

Constructor & Destructor Documentation

◆ MultiRayMeshIntersectResult() [1/4]

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

◆ MultiRayMeshIntersectResult() [2/4]

meshlib.MultiRayMeshIntersectResult.MultiRayMeshIntersectResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_MultiRayMeshIntersectResult_DefaultConstruct().

◆ MultiRayMeshIntersectResult() [3/4]

meshlib.MultiRayMeshIntersectResult.MultiRayMeshIntersectResult ( meshlib.BitSet intersectingRays,
meshlib.std_vector_float rayDistances,
meshlib.std_vector_MR_FaceId isectFaces,
meshlib.std_vector_MR_TriPointf isectBary,
meshlib.std_vector_MR_Vector3f isectPts )

Constructs MR::MultiRayMeshIntersectResult elementwise. The reference to the parameter intersectingRays might be preserved in the constructed object. The reference to the parameter rayDistances might be preserved in the constructed object. The reference to the parameter isectFaces might be preserved in the constructed object. The reference to the parameter isectBary might be preserved in the constructed object. The reference to the parameter isectPts might be preserved in the constructed object.

Calls MR_MultiRayMeshIntersectResult_ConstructFrom().

◆ MultiRayMeshIntersectResult() [4/4]

meshlib.MultiRayMeshIntersectResult.MultiRayMeshIntersectResult ( meshlib.MultiRayMeshIntersectResult _other)

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

Calls MR_MultiRayMeshIntersectResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MultiRayMeshIntersectResult meshlib.MultiRayMeshIntersectResult.assignFromAnother ( meshlib.MultiRayMeshIntersectResult _other)

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

Calls MR_MultiRayMeshIntersectResult_AssignFromAnother().

◆ intersectingRays()

java.lang.foreign.MemorySegment meshlib.MultiRayMeshIntersectResult.intersectingRays ( )

< true if the ray has intersection with mesh part, false otherwise Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named intersectingRays. The reference to this object might be preserved as the return value.

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

◆ isectBary()

java.lang.foreign.MemorySegment meshlib.MultiRayMeshIntersectResult.isectBary ( )

< barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectBary. The reference to this object might be preserved as the return value.

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

◆ isectFaces()

java.lang.foreign.MemorySegment meshlib.MultiRayMeshIntersectResult.isectFaces ( )

< intersected triangles from mesh Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectFaces. The reference to this object might be preserved as the return value.

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

◆ isectPts()

java.lang.foreign.MemorySegment meshlib.MultiRayMeshIntersectResult.isectPts ( )

< intersection points or NaNs if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectPts. The reference to this object might be preserved as the return value.

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

◆ rayDistances()

java.lang.foreign.MemorySegment meshlib.MultiRayMeshIntersectResult.rayDistances ( )

< distance along each ray till the intersection point or NaN if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named rayDistances. The reference to this object might be preserved as the return value.

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

◆ setIntersectingRays()

void meshlib.MultiRayMeshIntersectResult.setIntersectingRays ( meshlib.BitSet value)

< true if the ray has intersection with mesh part, false otherwise Modifies a member variable of class MR::MultiRayMeshIntersectResult named intersectingRays. The reference to the parameter value might be preserved in this object in element intersectingRays.

Calls MR_MultiRayMeshIntersectResult_Set_intersectingRays().

◆ setIsectBary()

void meshlib.MultiRayMeshIntersectResult.setIsectBary ( meshlib.std_vector_MR_TriPointf value)

< barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectBary. The reference to the parameter value might be preserved in this object in element isectBary.

Calls MR_MultiRayMeshIntersectResult_Set_isectBary().

◆ setIsectFaces()

void meshlib.MultiRayMeshIntersectResult.setIsectFaces ( meshlib.std_vector_MR_FaceId value)

< intersected triangles from mesh Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectFaces. The reference to the parameter value might be preserved in this object in element isectFaces.

Calls MR_MultiRayMeshIntersectResult_Set_isectFaces().

◆ setIsectPts()

void meshlib.MultiRayMeshIntersectResult.setIsectPts ( meshlib.std_vector_MR_Vector3f value)

< intersection points or NaNs if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectPts. The reference to the parameter value might be preserved in this object in element isectPts.

Calls MR_MultiRayMeshIntersectResult_Set_isectPts().

◆ setRayDistances()

void meshlib.MultiRayMeshIntersectResult.setRayDistances ( meshlib.std_vector_float value)

< distance along each ray till the intersection point or NaN if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named rayDistances. The reference to the parameter value might be preserved in this object in element rayDistances.

Calls MR_MultiRayMeshIntersectResult_Set_rayDistances().


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