Pathfinder
Merge.h
Go to the documentation of this file.
1 
9 #ifndef MERGE_H
10 #define MERGE_H
11 
12 #include <vector>
13 
14 #include "Octree.h"
15 
16 namespace Pathfinder {
17 
32  std::vector<std::pair<Vertex, Graph*>>
34  const Geometry::Vec3& p,
35  Graph* graphA,
36  Graph* graphB,
37  const Octree* octree,
38  AABB& aabb
39  );
40 
41 
51  Graph*
52  merge(
53  const std::vector<Graph*>& group,
54  Octree* octree
55  );
56 
57 }
58 
59 #endif
std::vector< std::pair< Vertex, Graph * > > determineMergePoints(const Geometry::Vec3 &p, Graph *graphA, Graph *graphB, const Octree *octree, AABB &aabb)
Get the points to which a intersection point shall be connected.
Definition: Merge.cpp:26
Definition: AABB.cpp:21
This file declares the struct Octree that implements the octree data structure.
Graph * merge(const std::vector< Graph *> &group, Octree *octree)
Create one big graph out of the given group.
Definition: Merge.cpp:56
boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, GraphVertex, GraphEdge > Graph
Shorthand notation for the graph used.
Definition: Using.h:42