OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimUnaryOpSqrt Class Reference
Inheritance diagram for ossimUnaryOpSqrt:
ossimEquationCombiner::ossimUnaryOp

Public Member Functions

virtual double apply (double v) const
 
- Public Member Functions inherited from ossimEquationCombiner::ossimUnaryOp
virtual ~ossimUnaryOp ()
 

Detailed Description

Definition at line 239 of file ossimEquationCombiner.cpp.

Member Function Documentation

◆ apply()

virtual double ossimUnaryOpSqrt::apply ( double  v) const
inlinevirtual

Implements ossimEquationCombiner::ossimUnaryOp.

Definition at line 242 of file ossimEquationCombiner.cpp.

243  {
244  if(v >= 0)
245  {
246  return sqrt(v);
247  }
248 
249  return -1;
250  }

The documentation for this class was generated from the following file: