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

stores useful precomputed values for presented direction vector More...

+ Inheritance diagram for MR.IntersectionPrecomputes2_Float:

Public Member Functions

unsafe IntersectionPrecomputes2_Float ()
 Constructs an empty (default-constructed) instance.
 
unsafe IntersectionPrecomputes2_Float (MR.Const_IntersectionPrecomputes2_Float _other)
 Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
 
 IntersectionPrecomputes2_Float (IntersectionPrecomputes2_Float _other)
 Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
 
unsafe IntersectionPrecomputes2_Float (in MR.Vector2f dir)
 Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
 
unsafe MR.IntersectionPrecomputes2_Float assign (MR.Const_IntersectionPrecomputes2_Float _other)
 Generated from method MR.IntersectionPrecomputes2<float>::operator=.
 

Static Public Member Functions

static unsafe implicit operator IntersectionPrecomputes2_Float (in MR.Vector2f dir)
 Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
 

Properties

new unsafe ref MR.Vector2f invDir [get]
 
new unsafe ref int maxDimIdxY [get]
 
new unsafe ref int idxX [get]
 
new unsafe ref MR.Vector2i sign [get]
 stores signs of direction vector;
 
new unsafe ref float sx [get]
 precomputed factors
 
new unsafe ref float sy [get]
 precomputed factors
 

Detailed Description

stores useful precomputed values for presented direction vector

allows to avoid repeatable computations during intersection finding Generated from class MR.IntersectionPrecomputes2<float>. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ IntersectionPrecomputes2_Float() [1/4]

unsafe MR.IntersectionPrecomputes2_Float.IntersectionPrecomputes2_Float ( )
inline

Constructs an empty (default-constructed) instance.

◆ IntersectionPrecomputes2_Float() [2/4]

unsafe MR.IntersectionPrecomputes2_Float.IntersectionPrecomputes2_Float ( MR.Const_IntersectionPrecomputes2_Float _other)
inline

Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.

◆ IntersectionPrecomputes2_Float() [3/4]

MR.IntersectionPrecomputes2_Float.IntersectionPrecomputes2_Float ( IntersectionPrecomputes2_Float _other)
inline

Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.

◆ IntersectionPrecomputes2_Float() [4/4]

unsafe MR.IntersectionPrecomputes2_Float.IntersectionPrecomputes2_Float ( in MR.Vector2f dir)
inline

Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.

Member Function Documentation

◆ assign()

unsafe MR.IntersectionPrecomputes2_Float MR.IntersectionPrecomputes2_Float.assign ( MR.Const_IntersectionPrecomputes2_Float _other)
inline

Generated from method MR.IntersectionPrecomputes2<float>::operator=.

◆ operator IntersectionPrecomputes2_Float()

static unsafe implicit MR.IntersectionPrecomputes2_Float.operator IntersectionPrecomputes2_Float ( in MR.Vector2f dir)
inlinestatic

Generated from constructor MR.IntersectionPrecomputes2<float>::IntersectionPrecomputes2.

Property Documentation

◆ idxX

new unsafe ref int MR.IntersectionPrecomputes2_Float.idxX
get

◆ invDir

new unsafe ref MR.Vector2f MR.IntersectionPrecomputes2_Float.invDir
get

◆ maxDimIdxY

new unsafe ref int MR.IntersectionPrecomputes2_Float.maxDimIdxY
get

◆ sign

new unsafe ref MR.Vector2i MR.IntersectionPrecomputes2_Float.sign
get

stores signs of direction vector;

◆ sx

new unsafe ref float MR.IntersectionPrecomputes2_Float.sx
get

precomputed factors

◆ sy

new unsafe ref float MR.IntersectionPrecomputes2_Float.sy
get

precomputed factors


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