MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshIntersectionResult Struct Reference

#include <MRMesh/MRMeshIntersect.h>

Inheritance diagram for MR::MeshIntersectionResult:

Public Member Functions

 operator bool () const
 check for validity

Public Attributes

PointOnFace proj
 stores intersected face and global coordinates
MeshTriPoint mtp
 stores barycentric coordinates
float distanceAlongLine = 0
 stores the distance from ray origin to the intersection point in direction units

Member Function Documentation

◆ operator bool()

MR::MeshIntersectionResult::operator bool ( ) const
inlineexplicit

check for validity

Member Data Documentation

◆ distanceAlongLine

float MR::MeshIntersectionResult::distanceAlongLine = 0

stores the distance from ray origin to the intersection point in direction units

◆ mtp

MeshTriPoint MR::MeshIntersectionResult::mtp

stores barycentric coordinates

◆ proj

PointOnFace MR::MeshIntersectionResult::proj

stores intersected face and global coordinates


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