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

Public Member Functions

 ComparePoints (int d)
 
bool operator() (const BVHPrimitiveInfo &a, const BVHPrimitiveInfo &b) const
 

Public Attributes

int dim
 

Detailed Description

Definition at line 322 of file bvh_pbrt.cpp.

Constructor & Destructor Documentation

◆ ComparePoints()

ComparePoints::ComparePoints ( int  d)
inlineexplicit

Definition at line 324 of file bvh_pbrt.cpp.

References dim.

Member Function Documentation

◆ operator()()

bool ComparePoints::operator() ( const BVHPrimitiveInfo a,
const BVHPrimitiveInfo b 
) const
inline

Definition at line 328 of file bvh_pbrt.cpp.

References BVHPrimitiveInfo::centroid, and dim.

Member Data Documentation

◆ dim

int ComparePoints::dim

Definition at line 326 of file bvh_pbrt.cpp.

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


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