Geometric Modeler

The Mathematical Constants

Description
Quick Reference

Abstract

Here is a description of the mathematical constants used in the Geometric Modeler. They are all defined in the CATMathConstant.h header of the Mathematics framework.


CATPI The Pi = 3.14159265358979323846  constant for angular definition
CAT2PI 2*Pi = 6.28318530717958647692
CAT3PI 3*Pi = 9.42477796076937971538
CATPIBY2 Pi/2 = 1.57079632679489661923
CAT3PIBY2 3*Pi/2 = 4.71238898038468985769 
CATPIBY4 Pi/4 = 0.78539816339744830961
CAT3PIBY4 3*Pi/4 = 2.35619449019234492884
CATINVPI 1/Pi= 0.31830988618379067153
CATINV2PI 1/(2*Pi) =0.15915494309189533577
CATSQRT2 sqrt(2) = 1.41421356237309504880
CATINVSQRT2 1/sqrt(2) = 0.70710678118654752440 
CATSQRT3 sqrt(3) = 1.73205080756887729352
CATINVSQRT3 1/sqrt(3) = 0.57735026918962576451
CATRadianToDegree The factor 57.295779513082323  to convert radians into degrees
CATDegreeToRadian The factor 0.017453292519943295 to convert degrees into radians

History

Version: 1 [Nov 2000] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.