File: IntersectionPrimitiveCollector.h

package info (click to toggle)
psurface 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: cpp: 12,339; makefile: 111; awk: 38
file content (31 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef INTERSECTION_PRIMITIVE_COLLECTOR_H
#define INTERSECTION_PRIMITIVE_COLLECTOR_H

#include <vector>
#include "IntersectionPrimitive.h"

#include "psurfaceAPI.h"

namespace psurface {

template <int dim, class ctype>
class PSurface;

template <class ctype>
class PSURFACE_API IntersectionPrimitiveCollector {

public:

    /** \brief Collection of the merged grid */
    static void collect(PSurface<2,ctype>* psurface,
                        std::vector<IntersectionPrimitive<2,ctype> >& mergedGrid);

    /** \brief Collection of the merged grid */
    static void collect(const PSurface<1,ctype>* psurface,
                        std::vector<IntersectionPrimitive<1,ctype> >& mergedGrid);

};

} // namespace psurface

#endif