Node that computes a negation (scalar or vector). More...
#include <SeExprNode.h>
Public Member Functions | |
SeExprNegNode (const SeExpression *expr, SeExprNode *a) | |
virtual void | eval (SeVec3d &result) const |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec. |
Node that computes a negation (scalar or vector).
Definition at line 142 of file SeExprNode.h.
SeExprNegNode::SeExprNegNode | ( | const SeExpression * | expr, | |
SeExprNode * | a | |||
) | [inline] |
Definition at line 145 of file SeExprNode.h.
void SeExprNegNode::eval | ( | SeVec3d & | v | ) | const [virtual] |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec.
Reimplemented from SeExprNode.
Definition at line 369 of file SeExprNode.cpp.
References SeExprNode::_isVec, a, SeExprNode::child(), and SeExprNode::eval().