KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CompareToMid Struct Reference

Public Member Functions

 CompareToMid (int d, float m)
 
bool operator() (const BVHPrimitiveInfo &a) const
 

Public Attributes

int dim
 
float mid
 

Detailed Description

Definition at line 335 of file bvh_pbrt.cpp.

Constructor & Destructor Documentation

◆ CompareToMid()

CompareToMid::CompareToMid ( int  d,
float  m 
)
inlineexplicit

Definition at line 337 of file bvh_pbrt.cpp.

References dim, and mid.

Member Function Documentation

◆ operator()()

bool CompareToMid::operator() ( const BVHPrimitiveInfo a) const
inline

Definition at line 342 of file bvh_pbrt.cpp.

References BVHPrimitiveInfo::centroid, dim, and mid.

Member Data Documentation

◆ dim

int CompareToMid::dim

Definition at line 339 of file bvh_pbrt.cpp.

Referenced by CompareToMid(), and operator()().

◆ mid

float CompareToMid::mid

Definition at line 340 of file bvh_pbrt.cpp.

Referenced by CompareToMid(), and operator()().


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