MeshLib Documentation
Loading...
Searching...
No Matches
MR::MultiRayMeshIntersectResult Struct Reference

#include <MRMeshIntersect.h>

Public Attributes

BitSetintersectingRays = nullptr
 true if the ray has intersection with mesh part, false otherwise
 
std::vector< float > * rayParams = nullptr
 distance along each ray till the intersection point or NaN if no intersection
 
std::vector< FaceId > * isectFaces = nullptr
 intersected triangles from mesh
 
std::vector< TriPointf > * isectBary = nullptr
 barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection
 
std::vector< Vector3f > * isectPts = nullptr
 intersection points or NaNs if no intersection
 

Member Data Documentation

◆ intersectingRays

BitSet* MR::MultiRayMeshIntersectResult::intersectingRays = nullptr

true if the ray has intersection with mesh part, false otherwise

◆ isectBary

std::vector<TriPointf>* MR::MultiRayMeshIntersectResult::isectBary = nullptr

barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection

◆ isectFaces

std::vector<FaceId>* MR::MultiRayMeshIntersectResult::isectFaces = nullptr

intersected triangles from mesh

◆ isectPts

std::vector<Vector3f>* MR::MultiRayMeshIntersectResult::isectPts = nullptr

intersection points or NaNs if no intersection

◆ rayParams

std::vector<float>* MR::MultiRayMeshIntersectResult::rayParams = nullptr

distance along each ray till the intersection point or NaN if no intersection


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