MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstMultiRayMeshIntersectResult Class Reference
Inheritance diagram for mrmeshpy.ConstMultiRayMeshIntersectResult:

Public Member Functions

 __init__ (self, *args, **kwargs)
BitSet intersectingRays (self)
std_vector_TriPoint_float isectBary (self)
std_vector_Id_FaceTag isectFaces (self)
std_vector_Vector3_float isectPts (self)
std_vector_float rayDistances (self)

Static Protected Attributes

typing _offsetof_intersectingRays = 0
typing _offsetof_isectBary = 24
typing _offsetof_isectFaces = 16
typing _offsetof_isectPts = 32
typing _offsetof_rayDistances = 8

Detailed Description

Generated from:  MR::MultiRayMeshIntersectResult

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstMultiRayMeshIntersectResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult, arg0: meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult, intersectingRays: meshlib.mrmeshpy.BitSet, rayDistances: meshlib.mrmeshpy.std_vector_float, isectFaces: meshlib.mrmeshpy.std_vector_Id_FaceTag, isectBary: meshlib.mrmeshpy.std_vector_TriPoint_float, isectPts: meshlib.mrmeshpy.std_vector_Vector3_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult, : meshlib.mrmeshpy.ConstMultiRayMeshIntersectResult) -> None

Member Function Documentation

◆ intersectingRays()

BitSet mrmeshpy.ConstMultiRayMeshIntersectResult.intersectingRays ( self)
true if the ray has intersection with mesh part, false otherwise

Reimplemented in mrmeshpy.MultiRayMeshIntersectResult, and mrmeshpy.MultiRayMeshIntersectResult.

◆ isectBary()

std_vector_TriPoint_float mrmeshpy.ConstMultiRayMeshIntersectResult.isectBary ( self)
barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection

Reimplemented in mrmeshpy.MultiRayMeshIntersectResult, and mrmeshpy.MultiRayMeshIntersectResult.

◆ isectFaces()

std_vector_Id_FaceTag mrmeshpy.ConstMultiRayMeshIntersectResult.isectFaces ( self)
intersected triangles from mesh

Reimplemented in mrmeshpy.MultiRayMeshIntersectResult, and mrmeshpy.MultiRayMeshIntersectResult.

◆ isectPts()

std_vector_Vector3_float mrmeshpy.ConstMultiRayMeshIntersectResult.isectPts ( self)
intersection points or NaNs if no intersection

Reimplemented in mrmeshpy.MultiRayMeshIntersectResult, and mrmeshpy.MultiRayMeshIntersectResult.

◆ rayDistances()

std_vector_float mrmeshpy.ConstMultiRayMeshIntersectResult.rayDistances ( self)
distance along each ray till the intersection point or NaN if no intersection

Reimplemented in mrmeshpy.MultiRayMeshIntersectResult, and mrmeshpy.MultiRayMeshIntersectResult.

Member Data Documentation

◆ _offsetof_intersectingRays

typing mrmeshpy.ConstMultiRayMeshIntersectResult._offsetof_intersectingRays = 0
staticprotected

◆ _offsetof_isectBary

typing mrmeshpy.ConstMultiRayMeshIntersectResult._offsetof_isectBary = 24
staticprotected

◆ _offsetof_isectFaces

typing mrmeshpy.ConstMultiRayMeshIntersectResult._offsetof_isectFaces = 16
staticprotected

◆ _offsetof_isectPts

typing mrmeshpy.ConstMultiRayMeshIntersectResult._offsetof_isectPts = 32
staticprotected

◆ _offsetof_rayDistances

typing mrmeshpy.ConstMultiRayMeshIntersectResult._offsetof_rayDistances = 8
staticprotected

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