#include <Difference.h>
Inheritance diagram for Difference:


Definition at line 16 of file Difference.h.
Public Member Functions | |
| Difference () | |
| Constructor Defaults to binary op constructor. | |
| virtual double | proc (gmVector3 x) |
| virtual gmVector3 | grad (gmVector3 x) |
| grad returns the gradient of the function (proc()) for a point or region. | |
| virtual gmMatrix3 | hess (gmVector3 x) |
| hess returns the Hessian of the function (proc()) for a point or region. | |
| virtual Intervald | proc (Box< double >) |
| proc returns the evaluation of the function that defines the Implicit surface. | |
| virtual Box3d | grad (Box< double >) |
| virtual IMatrix3d | hess (Box< double >) |
| MAKE_NAME () | |
|
|
Constructor Defaults to binary op constructor.
Definition at line 22 of file Difference.h. References BinaryOp::m_f, and BinaryOp::m_g. |
|
|
Reimplemented from Implicit. Definition at line 35 of file Difference.cpp. References Implicit::grad(), BinaryOp::m_f, and BinaryOp::m_g. |
|
|
grad returns the gradient of the function (proc()) for a point or region. Basically, the gradient returns a vector of partial derivatives, or more formally grad(proc()) = (dproc/dx,dproc/dy,dproc/dz).
Reimplemented from Implicit. Definition at line 16 of file Difference.cpp. References Implicit::grad(), BinaryOp::m_f, and BinaryOp::m_g. |
|
|
Reimplemented from Implicit. Definition at line 41 of file Difference.cpp. References Implicit::hess(), BinaryOp::m_f, and BinaryOp::m_g. |
|
|
hess returns the Hessian of the function (proc()) for a point or region. Basically, the Hessian is a matrix of second partial derivatives, or more formally hess(proc()) = d^2proc/dx^2, d^2proc/dxdy d^2proc/dxdz \ d^2proc/dxdy, d^2proc/dy^2 d^2proc/dydz \ d^2proc/dxdz, d^2proc/dydz d^2proc/dz^2
Reimplemented from Implicit. Definition at line 22 of file Difference.cpp. References Implicit::hess(), BinaryOp::m_f, and BinaryOp::m_g. |
|
|
|
|
|
proc returns the evaluation of the function that defines the Implicit surface. In normal circumstances, the gmVector3 version of proc defaults to a pure virtual function which means that you must define proc(gmVector3) in its subclasses. When INTERVAL_EVAL_ONLY is defined, the Implicit version of proc defaults to a pure virtual function and the gmVector3 version calls the Interval version. Either way, you must define proc() in subclasses of Implicit.
Reimplemented from Implicit. Definition at line 29 of file Difference.cpp. References Intervald, BinaryOp::m_f, BinaryOp::m_g, and Implicit::proc(). |
|
|
Implements Implicit. Definition at line 10 of file Difference.cpp. References BinaryOp::m_f, BinaryOp::m_g, and Implicit::proc(). |
1.3.4