OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
A constant class to hold a constant as a term. More...
#include <ossimTerm.h>
Public Member Functions | |
ossimConst (const ossim_float64 &value) | |
Public Constructor. More... | |
ossimConst (const ossimConst &src) | |
Public Copy Constructor. More... | |
~ossimConst () | |
Destroys the constant. More... | |
ossim_float64 | evaluate (std::vector< ossim_float64 >) const |
Evaluates a constant for a point. More... | |
ossimTerm * | derivative (const ossim_uint32 &variable) const |
Calculates the derivative for a constant. More... | |
ossim_uint32 | getType () const |
Gets the type of a constant. More... | |
ossimTerm * | copy () const |
Creates a copy of the constant. More... | |
![]() | |
virtual | ~ossimTerm () |
Virtual destructor for destroying tree from the top node. More... | |
ossim_float64 | operator() (std::vector< ossim_float64 > point) const |
Evaluates the function for a point. More... | |
ossimTerm * | operator+ (ossimTerm *rhs) const |
Returns a copy of the two terms in a polynomial. More... | |
ossimTerm * | operator* (ossimTerm *rhs) const |
Returns a copy of the two terms in a product. More... | |
Private Attributes | |
ossim_float64 | val |
A constant class to hold a constant as a term.
Definition at line 372 of file ossimTerm.h.
|
inline |
Public Constructor.
[in] | value | The value of the constant |
Definition at line 382 of file ossimTerm.h.
Referenced by copy(), and derivative().
|
inline |
Public Copy Constructor.
[in] | src | The source to be copied |
Definition at line 388 of file ossimTerm.h.
|
inline |
|
virtual |
Creates a copy of the constant.
Implements ossimTerm.
Definition at line 179 of file ossimTerm.cpp.
References ossimConst(), and val.
|
virtual |
Calculates the derivative for a constant.
OSSIM CONSTANT AS A TERM.
[in] | variable | The variable in which the derivative is with respect too. |
Calculates the derivative for a constant
[in] | variable | The variable in which the derivative is with respect too. |
Implements ossimTerm.
Definition at line 168 of file ossimTerm.cpp.
References ossimConst().
|
inlinevirtual |
Evaluates a constant for a point.
[in] | point | The point to be evaluated |
Implements ossimTerm.
Definition at line 402 of file ossimTerm.h.
|
inlinevirtual |
Gets the type of a constant.
Implements ossimTerm.
Definition at line 418 of file ossimTerm.h.
References constant.
|
private |
Definition at line 427 of file ossimTerm.h.
Referenced by copy().