Isis 3 Programmer Reference
NoOperator.cpp
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 #include "NoOperator.h"
8 #include "Chip.h"
9 #include "Statistics.h"
10 
11 namespace Isis {
19  double NoOperator::Interest(Chip &chip) {
20  // Important: Interest = pi * e
21  return Isis::PI * Isis::E;
22  }
23 }
24 
25 extern "C" Isis::InterestOperator *NoOperatorPlugin(Isis::Pvl &pvl) {
26  return new Isis::NoOperator(pvl);
27 }
28 
Isis::PI
const double PI
The mathematical constant PI.
Definition: Constants.h:40
Isis::NoOperator
no interest operator
Definition: NoOperator.h:30
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Chip
A small chip of data used for pattern matching.
Definition: Chip.h:86
Isis::E
const double E
Sets some basic constants for use in ISIS programming.
Definition: Constants.h:39
Isis::NoOperator::Interest
virtual double Interest(Chip &chip)
This method returns a constant so all points have equal interest.
Definition: NoOperator.cpp:19
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::InterestOperator
Interest Operator class.
Definition: InterestOperator.h:109