Go to the documentation of this file.
66 virtual const XYZ up(
const XYZ& p)
const
97 const boost::array<XYZ,3>& v,
147 return XYZ(0.0f,0.0f,1.0f);
153 return XYZ(0.0f,1.0f,0.0f);
159 return XYZ(1.0f,0.0f,0.0f);
180 const boost::array<XYZ,3>& v,
216 const float h_av=0.5f*(h0+h1);
218 const XYZ m(0.5f*(v0+v1));
239 if (p.x==0.0f && p.y==0.0f)
240 return XYZ(0.0f,0.0f,0.0f);
242 return (
up(p)*
east(p)).normalised();
250 if (p.x==0.0f && p.y==0.0f)
251 return XYZ(0.0f,0.0f,0.0f);
253 return (
XYZ(0.0f,0.0f,1.0f)*
up(p)).normalised();
277 const boost::array<XYZ,3>& v,