/** * \file Ellipsoid3D.cpp * \brief simple implementation of ellipsoids in 3D * * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #include #include #include IMPALGEBRA_BEGIN_NAMESPACE Ellipsoid3D::Ellipsoid3D(const VectorD<3>& center,double r0, double r1, double r2, const Rotation3D &rot):center_(center), rot_(rot){ radii_[0]=r0; radii_[1]=r1; radii_[2]=r2; } IMPALGEBRA_END_NAMESPACE