cisst-saw
Loading...
Searching...
No Matches
cmnConstants.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4/*
5
6 Author(s): Anton Deguet
7 Created on: 2005-10-17
8
9 (C) Copyright 2005-2007 Johns Hopkins University (JHU), All Rights
10 Reserved.
11
12--- begin cisst license - do not edit ---
13
14This software is provided "as is" under an open source license, with
15no warranty. The complete license can be found in license.txt and
16http://www.cisst.org/cisst/license.txt.
17
18--- end cisst license ---
19
20*/
21
22
28#pragma once
29
30#ifndef _cmnConstants_h
31#define _cmnConstants_h
32
33
35
36
38const double cmnPI = 3.1415926535897932384626433832795029;
39
41const double cmnPI_2 = 1.5707963267948966192313216916397514;
42
44const double cmnPI_4 = 0.7853981633974483096156608458198757;
45
47const double cmnPI_180 = cmnPI / 180.0;
48
50const double cmn180_PI = 180.0 / cmnPI;
51
52
53#endif // _cmnConstants_h
54
const double cmnPI_2
Definition cmnConstants.h:41
const double cmn180_PI
Definition cmnConstants.h:50
const double cmnPI_4
Definition cmnConstants.h:44
const double cmnPI
Definition cmnConstants.h:38
const double cmnPI_180
Definition cmnConstants.h:47
Macros to export the symbols of cisstCommon (in a Dll).