Mantid
Loading...
Searching...
No Matches
General.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidGeometry/DllConfig.h"
11
12namespace Mantid {
13namespace Geometry {
14
28class MANTID_GEOMETRY_DLL General : public Quadratic {
29private:
30 General *doClone() const override;
31
32protected:
33 General(const General &) = default;
34 General &operator=(const General &) = delete;
35
36public:
37 General();
38 std::unique_ptr<General> clone() const;
39
40 int setSurface(const std::string &) override;
41 void setBaseEqn() override;
42 void getBoundingBox(double &xmax, double &ymax, double &zmax, double &xmin, double &ymin, double &zmin) override;
43};
44
45} // NAMESPACE Geometry
46
47} // NAMESPACE Mantid
Holds a general quadratic surface.
Definition: General.h:28
General(const General &)=default
General & operator=(const General &)=delete
Holds a basic quadratic surface.
Definition: Quadratic.h:29
Helper class which provides the Collimation Length for SANS instruments.