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

Public Member Functions

 CompareToBucket (int split, int num, int d, const BBOX_3D &b)
 
bool operator() (const BVHPrimitiveInfo &p) const
 

Public Attributes

int splitBucket
 
int nBuckets
 
int dim
 
const BBOX_3DcentroidBounds
 

Detailed Description

Definition at line 349 of file bvh_pbrt.cpp.

Constructor & Destructor Documentation

◆ CompareToBucket()

CompareToBucket::CompareToBucket ( int  split,
int  num,
int  d,
const BBOX_3D b 
)
inline

Definition at line 351 of file bvh_pbrt.cpp.

References dim, nBuckets, split(), and splitBucket.

Member Function Documentation

◆ operator()()

bool CompareToBucket::operator() ( const BVHPrimitiveInfo p) const

Member Data Documentation

◆ centroidBounds

const BBOX_3D& CompareToBucket::centroidBounds

Definition at line 363 of file bvh_pbrt.cpp.

Referenced by operator()().

◆ dim

int CompareToBucket::dim

Definition at line 361 of file bvh_pbrt.cpp.

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

◆ nBuckets

int CompareToBucket::nBuckets

Definition at line 361 of file bvh_pbrt.cpp.

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

◆ splitBucket

int CompareToBucket::splitBucket

Definition at line 361 of file bvh_pbrt.cpp.

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


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