19 #ifndef GEOM_COMPOSITE3_HH
20 #define GEOM_COMPOSITE3_HH
24 #include <boost/filesystem.hpp>
44 Vec3 GetOrigin()
const;
45 Vec3 GetDirection()
const;
66 Vec3 GetOrigin()
const;
67 void SetOrigin(
const Vec3& o);
68 Vec3 GetNormal()
const;
69 void SetNormal(
const Vec3& n);
74 YZ=0x1, ZY=0x1, XZ=0x2, ZX=0x2, XY=0x4, YX=0x4
90 Vec3 GetOrigin()
const;
91 Real GetRadius()
const;
92 void SetOrigin(
const Vec3& v);
93 void SetRadius(
Real r);
126 return Vec3(axes_[0].GetHalfExtent(), axes_[1].GetHalfExtent(),
127 axes_[2].GetHalfExtent());
151 const Vec3& origin=
Vec3(0.0,0.0,0.0));
153 const Vec3& origin=
Vec3(0.0,0.0,0.0));
157 Vec3 GetOrigin()
const;
159 Real GetTheta()
const;
161 Quat GetQuat()
const;
162 Vec3 GetRotationAxis()
const;
163 Real GetRotationAngle()
const;
164 Mat3 GetRotationMatrix()
const;
165 void SetOrigin(
const Vec3& o);
166 void SetPhi(
Real phi);
167 void SetTheta(
Real theta);
168 void SetPsi(
Real psi);
169 void SetQuat(
const Quat& q);
170 void SetRotationAxis(
const Vec3& v);
171 void SetRotationAngle(
Real angle);
172 void SetRotationMatrix(
const Mat3& rot);
178 Quat generate_from_axis_angle(
const Vec3& axis,
Real angle);
179 Vec3 find_invariant_vector(
Mat3 rot);
180 Vec3 find_orthogonal_vector(
const Vec3& xyz);
181 Vec3 find_vector_for_BOD(
const Vec3& xyz,
const Vec3& uvw);
182 Quat generate_from_matrix(
const Mat3& rot);
192 const boost::filesystem::path& loc);