15 std::string indent(indentwidth,
' ');
16 std::string indent2(indentwidth + 8,
' ');
17 std::cout << indent <<
"rotate, " << std::endl;
20 << indent2 <<
"angle: " <<
angle_m;
28 const unsigned int size = bfuncs.size();
30 for (
unsigned int j = 0; j < size; ++ j) {
31 std::shared_ptr<Base> &obj = bfuncs[j];
32 obj->trafo_m = obj->trafo_m.mult(rotation);
34 if (!obj->divisor_m.empty())
51 }
catch (std::runtime_error &e) {
52 std::cout << e.what() << std::endl;
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
double parseMathExpression(const std::string &str)
std::string::iterator iterator
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)=0
static bool parse(iterator &it, const iterator &end, Function *&fun)
virtual void print(int indent)=0
std::string get(unsigned int i) const
unsigned int getLengthConsumed() const
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
void applyRotation(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual void print(int indentwidth)
Vektor< double, 3 > Vector_t