OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimUnaryOpACosd Class Reference
Inheritance diagram for ossimUnaryOpACosd:
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 313 of file ossimEquationCombiner.cpp.

Member Function Documentation

◆ apply()

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

Implements ossimEquationCombiner::ossimUnaryOp.

Definition at line 316 of file ossimEquationCombiner.cpp.

References M_PI.

317  {
318  if(v > 1) v = 1;
319  if(v < -1) v = -1;
320  return (180/M_PI)*acos(v);
321  }
#define M_PI

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