Node that stores a numeric constant. More...
#include <SeExprNode.h>
Public Member Functions | |
SeExprNumNode (const SeExpression *expr, double val) | |
virtual void | eval (SeVec3d &result) const |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec. | |
Private Attributes | |
double | _val |
Node that stores a numeric constant.
Definition at line 399 of file SeExprNode.h.
SeExprNumNode::SeExprNumNode | ( | const SeExpression * | expr, | |
double | val | |||
) | [inline] |
Definition at line 402 of file SeExprNode.h.
virtual void SeExprNumNode::eval | ( | SeVec3d & | v | ) | const [inline, virtual] |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec.
Reimplemented from SeExprNode.
Definition at line 405 of file SeExprNode.h.
References _val.
double SeExprNumNode::_val [private] |
Definition at line 408 of file SeExprNode.h.
Referenced by eval().