MeshLib C# Docs
Loading...
Searching...
No Matches
MR.MeshIntersectionResult Class Reference

Generated from class MR.MeshIntersectionResult. Derived classes: Direct: (non-virtual) MR.MultiMeshIntersectionResult This is the non-const half of the class. More...

+ Inheritance diagram for MR.MeshIntersectionResult:

Public Member Functions

unsafe MeshIntersectionResult ()
 Constructs an empty (default-constructed) instance.
 
unsafe MeshIntersectionResult (MR.Const_PointOnFace proj, MR.Const_MeshTriPoint mtp, float distanceAlongLine)
 Constructs MR.MeshIntersectionResult elementwise.
 
unsafe MeshIntersectionResult (MR.Const_MeshIntersectionResult _other)
 Generated from constructor MR.MeshIntersectionResult.MeshIntersectionResult.
 
 MeshIntersectionResult (MeshIntersectionResult _other)
 Generated from constructor MR.MeshIntersectionResult.MeshIntersectionResult.
 
unsafe MR.MeshIntersectionResult assign (MR.Const_MeshIntersectionResult _other)
 Generated from method MR.MeshIntersectionResult.operator=.
 

Properties

new unsafe MR.PointOnFace proj [get, protected set]
 stores intersected face and global coordinates
 
new unsafe MR.MeshTriPoint mtp [get, protected set]
 stores barycentric coordinates
 
new unsafe ref float distanceAlongLine [get]
 stores the distance from ray origin to the intersection point in direction units
 

Detailed Description

Generated from class MR.MeshIntersectionResult. Derived classes: Direct: (non-virtual) MR.MultiMeshIntersectionResult This is the non-const half of the class.

Constructor & Destructor Documentation

◆ MeshIntersectionResult() [1/4]

unsafe MR.MeshIntersectionResult.MeshIntersectionResult ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshIntersectionResult() [2/4]

unsafe MR.MeshIntersectionResult.MeshIntersectionResult ( MR.Const_PointOnFace proj,
MR.Const_MeshTriPoint mtp,
float distanceAlongLine )
inline

Constructs MR.MeshIntersectionResult elementwise.

◆ MeshIntersectionResult() [3/4]

unsafe MR.MeshIntersectionResult.MeshIntersectionResult ( MR.Const_MeshIntersectionResult _other)
inline

Generated from constructor MR.MeshIntersectionResult.MeshIntersectionResult.

◆ MeshIntersectionResult() [4/4]

MR.MeshIntersectionResult.MeshIntersectionResult ( MeshIntersectionResult _other)
inline

Generated from constructor MR.MeshIntersectionResult.MeshIntersectionResult.

Member Function Documentation

◆ assign()

unsafe MR.MeshIntersectionResult MR.MeshIntersectionResult.assign ( MR.Const_MeshIntersectionResult _other)
inline

Generated from method MR.MeshIntersectionResult.operator=.

Property Documentation

◆ distanceAlongLine

new unsafe ref float MR.MeshIntersectionResult.distanceAlongLine
get

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

◆ mtp

new unsafe MR.MeshTriPoint MR.MeshIntersectionResult.mtp
getprotected set

stores barycentric coordinates

◆ proj

new unsafe MR.PointOnFace MR.MeshIntersectionResult.proj
getprotected set

stores intersected face and global coordinates


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