Download this example
This will print a float that represents the constant Pi.
Output:
3.14159
#include "itkMath.h" int main(int /*argc*/, char * /*argv*/[]) { std::cout << itk::Math::pi << std::endl; return EXIT_SUCCESS; }
previous
Permute Sequence of Indices
next
Print ITK Python Module Loading