gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
Octree.h
Go to the documentation of this file.
1
// Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2
//
3
// See the LICENSE.txt file in the Gmsh root directory for license information.
4
// Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5
6
#ifndef OCTREE_H
7
#define OCTREE_H
8
9
#include <vector>
10
#include "
OctreeInternals.h
"
11
12
Octree
*
Octree_Create
(
int
maxElements,
// max. num of elts allowed in an octant
13
double
*origin,
// smallest x,y, z of model's bounding box
14
double
*size,
// size in x, y, z of model bounding box
15
void
(*BB)(
void
*,
double
*,
double
*),
16
void
(*Centroid)(
void
*,
double
*),
17
int
(*InEle)(
void
*,
double
*));
18
19
void
Octree_Delete
(
Octree
*);
20
void
Octree_Insert
(
void
*,
Octree
*);
21
void
Octree_Arrange
(
Octree
*);
22
void
*
Octree_Search
(
double
*,
Octree
*);
23
void
Octree_SearchAll
(
double
*,
Octree
*, std::vector<void *> *);
24
25
#endif
OctreeInternals.h
Octree_Insert
void Octree_Insert(void *, Octree *)
Definition:
Octree.cpp:55
Octree_SearchAll
void Octree_SearchAll(double *, Octree *, std::vector< void * > *)
Definition:
Octree.cpp:88
Octree_Arrange
void Octree_Arrange(Octree *)
Definition:
Octree.cpp:67
Octree
Definition:
OctreeInternals.h:51
Octree_Delete
void Octree_Delete(Octree *)
Definition:
Octree.cpp:46
Octree_Search
void * Octree_Search(double *, Octree *)
Definition:
Octree.cpp:81
Octree_Create
Octree * Octree_Create(int maxElements, double *origin, double *size, void(*BB)(void *, double *, double *), void(*Centroid)(void *, double *), int(*InEle)(void *, double *))
src
common
Octree.h
Generated by
1.8.18