Subversion Repositories gelsvn

Rev

Rev 443 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 443 Rev 595
-
 
1
/* ----------------------------------------------------------------------- *
-
 
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
-
 
3
 * Copyright (C) the authors and DTU Informatics
-
 
4
 * For license and list of authors, see ../../doc/intro.pdf
-
 
5
 * ----------------------------------------------------------------------- */
-
 
6
 
-
 
7
/**
-
 
8
 * @file build_bbtree.h
-
 
9
 * @brief Contains functions for building a bounding box tree.
-
 
10
 */
-
 
11
 
1
#ifndef __GEOMETRY_BUILD_BBTREE_H
12
#ifndef __GEOMETRY_BUILD_BBTREE_H
2
#define __GEOMETRY_BUILD_BBTREE_H
13
#define __GEOMETRY_BUILD_BBTREE_H
3
 
14
 
4
#include "BoundingTree.h"
15
#include "BoundingTree.h"
-
 
16
 
-
 
17
namespace HMesh
-
 
18
{
5
#include "HMesh/Manifold.h"
19
    class Manifold;
-
 
20
}
6
 
21
 
7
namespace Geometry
22
namespace Geometry
8
{
23
{
9
typedef BoundingTree<OBox> OBBTree;
24
typedef BoundingTree<OBox> OBBTree;
10
typedef BoundingTree<AABox> AABBTree;
25
typedef BoundingTree<AABox> AABBTree;
11
 
26
 
12
void build_OBBTree(HMesh::Manifold& m, OBBTree& tree);
27
void build_OBBTree(HMesh::Manifold& m, OBBTree& tree);
13
void build_AABBTree(HMesh::Manifold& m, AABBTree& tree);
28
void build_AABBTree(HMesh::Manifold& m, AABBTree& tree);
14
 
29
 
15
}
30
}
16
#endif
31
#endif
17
 
32