OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Polygon.h
Go to the documentation of this file.
1 #ifndef MSLANG_POLYGON_H
2 #define MSLANG_POLYGON_H
3 
4 #include "Utilities/MSLang.h"
6 
7 namespace mslang {
8  struct Polygon: public Function {
9  std::vector<Triangle> triangles_m;
10 
11  void triangulize(std::vector<Vector_t> &nodes);
12  static bool parse_detail(iterator &it, const iterator &end, Function* &fun);
13  virtual void print(int ident);
14  virtual void apply(std::vector<std::shared_ptr<Base> > &bfuncs);
15  };
16 }
17 
18 #endif
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition: Polygon.cpp:15
void triangulize(std::vector< Vector_t > &nodes)
Definition: Polygon.cpp:10
std::vector< Triangle > triangles_m
Definition: Polygon.h:9
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition: Polygon.cpp:44
virtual void print(int ident)
Definition: Polygon.cpp:40
std::string::iterator iterator
Definition: MSLang.h:16