sgdk::Pi Class Reference
[ZRef Module]

#include <swiss_gd_knife/zref/pi.hpp>

List of all members.


Detailed Description

This class acts as a function object that returns the constant PI.


Model of



Public Types

typedef double value_type

Public Member Functions

 Pi ()
 The default constructor.
 operator value_type () const


Member Typedef Documentation

typedef double sgdk::Pi::value_type
 

The type of the result: double.


Constructor & Destructor Documentation

sgdk::Pi::Pi  )  [inline]
 

Constructs a new Pi.


Member Function Documentation

sgdk::Pi::operator value_type  )  const [inline]
 

Returns the value of PI.

Returns:
the result.


Swiss GD Knife is hosted by SourceForge.net.