1 #ifndef Geom_LocalError_H 2 #define Geom_LocalError_H 44 return LocalError(mag2i * ((c * c) *
xx() + (s * s) *
yy() - 2.
f * (c * s) *
xy()),
45 mag2i * ((c * s) * (
xx() -
yy()) + (c * c - s * s) *
xy()),
46 mag2i * ((s * s) *
xx() + (c * c) *
yy() + 2.
f * (c * s) *
xy()));
57 #endif // LocalError_H
std::ostream & operator<<(std::ostream &s, const LocalError &err)
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
LocalError rotateCosSin(float c, float s, float mag2i=1.f) const
Return a new LocalError, rotated by an angle defined by it's cosine and sine.
LocalError rotate(float phi) const
Return a new LocalError, rotated by an angle phi.
LocalError(float xx, float xy, float yy)
LocalError rotate(float x, float y) const
Return a new LocalError, rotated by an angle defined by the direction (x,y)
LocalError scale(float s) const