5 #include <boost/regex.hpp>
9 std::string indent(indentwidth,
' ');
10 std::string indent2(indentwidth + 8,
' ');
11 std::cout << indent <<
"rotate, " <<
std::endl;
14 << indent2 <<
"angle: " <<
angle_m;
22 const unsigned int size = bfuncs.size();
24 for (
unsigned int j = 0; j < size; ++ j) {
25 std::shared_ptr<Base> &obj = bfuncs[j];
26 obj->trafo_m = obj->trafo_m.mult(rotation);
28 if (obj->divisor_m.size() > 0)
45 }
catch (std::runtime_error &
e) {
unsigned int getLengthConsumed() const
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
constexpr double e
The value of .
void applyRotation(std::vector< std::shared_ptr< Base > > &bfuncs)
Tps< T > sin(const Tps< T > &x)
Sine.
virtual void print(int indent)=0
Vektor< double, 3 > Vector_t
virtual void apply(std::vector< std::shared_ptr< Base >> &bfuncs)=0
static bool parse(iterator &it, const iterator &end, Function *&fun)
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
virtual void print(int indentwidth)
Tps< T > cos(const Tps< T > &x)
Cosine.
std::string get(unsigned int i) const
std::string::iterator iterator
double parseMathExpression(const std::string &str)
Inform & endl(Inform &inf)