1 #ifndef EXPR_RotationFunction_H
2 #define EXPR_RotationFunction_H
4 #include "EXPR_Function.h"
7 #include "core_numeric.h"
45 static inline CORE_UniquePointer<EXPR_RotationFunction>
New() {
84 virtual void apply(
const std::vector<tString>& args,
89 auto iarg=args.cbegin();
93 core_numeric::parse(*iarg,theta);iarg++;
97 core_numeric::parse(*iarg,theta);iarg++;
98 core_numeric::parse(*iarg,Ux);iarg++;
99 core_numeric::parse(*iarg,Uy);iarg++;
100 core_numeric::parse(*iarg,Uz);iarg++;
101 node.rotation(theta,Ux,Uy,Uz);
105 core_numeric::parse(*iarg,theta);iarg++;
106 core_numeric::parse(*iarg,Ux);iarg++;
107 core_numeric::parse(*iarg,Uy);iarg++;
108 core_numeric::parse(*iarg,Uz);iarg++;
109 core_numeric::parse(*iarg,Cx);iarg++;
110 core_numeric::parse(*iarg,Cy);iarg++;
111 core_numeric::parse(*iarg,Cz);iarg++;
112 node.rotation(theta,Ux,Uy,Uz,Cx,Cy,Cz);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class described a function.
Definition: EXPR_Function.h:15
void setName(const tString &name)
set the name of the function
Definition: EXPR_Function.h:44
This class is a base class of the binary tree.
Definition: EXPR_Node.h:16
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_Object.h:70
This class describes.
Definition: EXPR_RotationFunction.h:16
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_RotationFunction.h:73
virtual void apply(const std::vector< tString > &args, EXPR_Node &node) const final
apply the function to the environment
Definition: EXPR_RotationFunction.h:84
virtual ~EXPR_RotationFunction()
delete the class
Definition: EXPR_RotationFunction.h:36
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_RotationFunction.h:61
static CORE_UniquePointer< EXPR_RotationFunction > New()
return an unique instance of this class
Definition: EXPR_RotationFunction.h:45
EXPR_RotationFunction()
create the class
Definition: EXPR_RotationFunction.h:29