gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef OCTREE_INTERNALS_H
7 #define OCTREE_INTERNALS_H
63 double *maxBB,
double *ele_centroid,
77 std::vector<void *> *_elements);
InEleFunction function_inElement
int checkElementInBucket(octantBucket *bucket, void *element)
void refineOctants(octantBucket *buckets, globalInfo *globalPara)
void(* CentroidFunction)(void *, double *)
int xyzInElementBB(double *xyz, void *region, BBFunction BBElement)
void * searchAllElements(octantBucket *_buckets_head, double *_pt, globalInfo *_globalPara, BBFunction BBElement, InEleFunction xyzInElement, std::vector< void * > *_elements)
octantBucket * findElementBucket(octantBucket *buckets, double *pt)
int(* InEleFunction)(void *, double *)
void insertOneBB(void *, double *, double *, octantBucket *)
CentroidFunction function_centroid
void(* BBFunction)(void *, double *, double *)
std::vector< void * > listBB
int subdivideOctantBucket(octantBucket *bucket, globalInfo *globalPara)
int initializeOctantBuckets(double *orig, double *size, int maxElem, octantBucket **buckets, globalInfo **globalPara)
int addElement2Bucket(octantBucket *bucket, void *element, double *minBB, double *maxBB, double *ele_centroid, globalInfo *globalPara)
std::vector< void * > listAllElements
void * searchElement(octantBucket *buckets, double *pt, globalInfo *globalPara, BBFunction BBElement, InEleFunction xyzInElement)