OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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
7namespace 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
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
std::string::iterator iterator
Definition: MSLang.h:16
void triangulize(std::vector< Vector_t > &nodes)
Definition: Polygon.cpp:10
virtual void print(int ident)
Definition: Polygon.cpp:40
std::vector< Triangle > triangles_m
Definition: Polygon.h:9
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
Definition: Polygon.cpp:44
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
Definition: Polygon.cpp:15