Node that computes local variables before evaluating expression. More...
#include <SeExprNode.h>
Public Member Functions | |
SeExprBlockNode (const SeExpression *expr, SeExprNode *a, SeExprNode *b) | |
virtual bool | prep (bool wantVec) |
virtual void | eval (SeVec3d &result) const |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec. |
Node that computes local variables before evaluating expression.
Definition at line 89 of file SeExprNode.h.
SeExprBlockNode::SeExprBlockNode | ( | const SeExpression * | expr, | |
SeExprNode * | a, | |||
SeExprNode * | b | |||
) | [inline] |
Definition at line 92 of file SeExprNode.h.
void SeExprBlockNode::eval | ( | SeVec3d & | v | ) | const [virtual] |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec.
Reimplemented from SeExprNode.
Definition at line 162 of file SeExprNode.cpp.
References SeExprNode::child(), and SeExprNode::eval().
bool SeExprBlockNode::prep | ( | bool | wantVec | ) | [virtual] |
Prepare the node (for parser use only). See the discussion at the start of SeExprNode.cpp for more info.
Reimplemented from SeExprNode.
Definition at line 146 of file SeExprNode.cpp.
References SeExprNode::_isVec, SeExprNode::child(), and SeExprNode::isVec().