Geant4
10.01.p03
|
a transformation of a function in and out of a coordinate space, using 2 c2_transformations More...
#include <c2_function.hh>
Public Member Functions | |
c2_function_transformation (const c2_transformation< float_type > &xx, const c2_transformation< float_type > &yy) | |
construct this from two c2_transformation instances More... | |
virtual | ~c2_function_transformation () |
destructor More... | |
virtual float_type | evaluate (float_type xraw, float_type y, float_type yp0, float_type ypp0, float_type *yprime, float_type *yprime2) const |
evaluate the transformation from internal coordinates to external coordinates More... | |
Public Attributes | |
const bool | isIdentity |
flag indicating of the transform is the identity, and can be skipped for efficiency More... | |
const c2_transformation < float_type > & | X |
the X axis transform More... | |
const c2_transformation < float_type > & | Y |
the Y axis transform More... | |
a transformation of a function in and out of a coordinate space, using 2 c2_transformations
This class is a container for two axis transforms, but also provides the critical evaluate() function which converts a result in internal coordinates (with derivatives) into the external representation
Definition at line 1247 of file c2_function.hh.
|
inline |
construct this from two c2_transformation instances
xx | the X axis transform |
yy | the Y axis transform |
Definition at line 1252 of file c2_function.hh.
|
inlinevirtual |
destructor
Definition at line 1256 of file c2_function.hh.
References c2_function_transformation< float_type >::X, and c2_function_transformation< float_type >::Y.
|
virtual |
evaluate the transformation from internal coordinates to external coordinates
xraw | the value of x in external cordinates at which the transform is taking place | |
y | the value of the function in internal coordinates | |
yp0 | the derivative in internal coordinates | |
ypp0 | the second derivative in internal coordinates | |
[out] | yprime | pointer to the derivative, or NULL, in external coordinates |
[out] | yprime2 | pointer to the second derivative, or NULL, in external coordinates |
const bool c2_function_transformation< float_type >::isIdentity |
flag indicating of the transform is the identity, and can be skipped for efficiency
Definition at line 1269 of file c2_function.hh.
const c2_transformation<float_type>& c2_function_transformation< float_type >::X |
the X axis transform
Definition at line 1271 of file c2_function.hh.
Referenced by c2_function_transformation< float_type >::~c2_function_transformation().
const c2_transformation<float_type>& c2_function_transformation< float_type >::Y |
the Y axis transform
Definition at line 1273 of file c2_function.hh.
Referenced by c2_function_transformation< float_type >::~c2_function_transformation().