Add ImperialCivil Units Schema
- units for civil engineering - ft, ft2, ft3, mph, and angles as degrees/minutes/seconds
This commit is contained in:
committed by
Yorik van Havre
parent
971cbc4e73
commit
fefe83ecbb
@@ -32,6 +32,7 @@
|
||||
#include "Quantity.h"
|
||||
#include "Exception.h"
|
||||
#include "UnitsApi.h"
|
||||
#include "Console.h"
|
||||
|
||||
// suppress annoying warnings from generated source files
|
||||
#ifdef _MSC_VER
|
||||
@@ -305,6 +306,8 @@ Quantity Quantity::WattSecond (1e+6 ,Unit(2,1,-2)); // Joule (kg
|
||||
Quantity Quantity::KMH (277.778 ,Unit(1,0,-1)); // km/h
|
||||
Quantity Quantity::MPH (447.04 ,Unit(1,0,-1)); // Mile/h
|
||||
|
||||
Quantity Quantity::AngMinute (1.0/60.0 ,Unit(0,0,0,0,0,0,0,1)); // angular minute
|
||||
Quantity Quantity::AngSecond (1.0/3600.0 ,Unit(0,0,0,0,0,0,0,1)); // angular minute
|
||||
Quantity Quantity::Degree (1.0 ,Unit(0,0,0,0,0,0,0,1)); // degree (internal standard angle)
|
||||
Quantity Quantity::Radian (180/M_PI ,Unit(0,0,0,0,0,0,0,1)); // radian
|
||||
Quantity Quantity::Gon (360.0/400.0 ,Unit(0,0,0,0,0,0,0,1)); // gon
|
||||
|
||||
Reference in New Issue
Block a user