Example #1
0
bool PeakShapeEllipsoid::operator==(const PeakShapeEllipsoid &other) const {
  return PeakShapeBase::operator==(other) &&
         other.directions() == this->directions() &&
         other.abcRadii() == this->abcRadii() &&
         other.abcRadiiBackgroundInner() == this->abcRadiiBackgroundInner() &&
         other.abcRadiiBackgroundOuter() == this->abcRadiiBackgroundOuter();
}
PeakShapeEllipsoid::PeakShapeEllipsoid(const PeakShapeEllipsoid &other)
    : PeakShapeBase(other), m_directions(other.directions()),
      m_abc_radii(other.abcRadii()),
      m_abc_radiiBackgroundInner(other.abcRadiiBackgroundInner()),
      m_abc_radiiBackgroundOuter(other.abcRadiiBackgroundOuter()) {}