toDeg and toRad
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
return std::sqrt(Type(1) - tv * tv);
|
||||
}
|
||||
Type angleRad(const _CVector & v) const {return std::acos(angleCos(v));}
|
||||
Type angleDeg(const _CVector & v) const {return toDeg<Type>(angleRad(v));}
|
||||
Type angleDeg(const _CVector & v) const {return toDeg(angleRad(v));}
|
||||
Type angleElevation(const _CVector & v) const {return 90.0 - angleDeg(v - *this);}
|
||||
_CVector projection(const _CVector & v) {
|
||||
Type tv = v.length();
|
||||
|
||||
Reference in New Issue
Block a user