Isis 3 Programmer Reference
NoOperator.cpp
1 #include "NoOperator.h"
2 #include "Chip.h"
3 #include "Statistics.h"
4 
5 namespace Isis {
13  double NoOperator::Interest(Chip &chip) {
14  // Important: Interest = pi * e
15  return Isis::PI * Isis::E;
16  }
17 }
18 
19 extern "C" Isis::InterestOperator *NoOperatorPlugin(Isis::Pvl &pvl) {
20  return new Isis::NoOperator(pvl);
21 }
22 
const double PI
The mathematical constant PI.
Definition: Constants.h:56
A small chip of data used for pattern matching.
Definition: Chip.h:102
Interest Operator class.
virtual double Interest(Chip &chip)
This method returns a constant so all points have equal interest.
Definition: NoOperator.cpp:13
Container for cube-like labels.
Definition: Pvl.h:135
const double E
Sets some basic constants for use in ISIS programming.
Definition: Constants.h:55
no interest operator
Definition: NoOperator.h:46
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31