Базовая версия библиотеки. Версия 0.2.0-dev
This commit is contained in:
parent
262a4c04e8
commit
3ba55c7524
31 changed files with 7432 additions and 0 deletions
20
Geometry/DPUtility.cs
Normal file
20
Geometry/DPUtility.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
|
||||
namespace Geometry
|
||||
{
|
||||
public class DPUtility
|
||||
{
|
||||
public const double EPSYLON = 5E-14;
|
||||
public const double TWO_EPSYLON = 1E-13;
|
||||
public const double SQUARE_EPSYLON = 2.5E-27;
|
||||
|
||||
public const double EPSYLON_EFFECTIVENESS_LIMIT = 1.0;
|
||||
|
||||
public const double ONE_THIRD = 0.333333333333333333;
|
||||
public const double ONE_SIXTH = 0.166666666666666667;
|
||||
public const double ONE_NINETH = 0.111111111111111111;
|
||||
|
||||
public const double GOLDEN_RATIO_HIGH = 1.61803398874989485;
|
||||
public const double GOLDEN_RATIO_LOW = 0.61803398874989485;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue