9#include "MantidGeometry/DllConfig.h"
38 Cone *doClone()
const override;
46 std::string
className()
const override {
return "Cone"; }
48 std::unique_ptr<Cone> clone()
const;
54 bool onSurface(
const Kernel::V3D &R)
const override;
66 double distance(
const Kernel::V3D &)
const override;
69 int setSurface(
const std::string &)
override;
75 void setAngle(
double const);
78 void setTanAngle(
double const);
80 void setBaseEqn()
override;
82 void write(std::ostream &)
const override;
85 void getBoundingBox(
double &xmax,
double &ymax,
double &zmax,
double &xmin,
double &ymin,
double &zmin)
override;
88 constexpr static int g_NSLICES = 10;
90 constexpr static int g_NSTACKS = 1;
91#ifdef ENABLE_OPENCASCADE
92 TopoDS_Shape createShape()
override;
virtual void Accept(const Surface &)=0
Accept a surface.
Holds a cone in vector form.
void acceptVisitor(BaseVisit &A) const override
Accept visitor for line calculation.
Kernel::V3D getNormal() const
Central normal.
Kernel::V3D Normal
Normal.
Kernel::V3D getCentre() const
Return centre point.
Kernel::V3D Centre
Kernel::V3D for centre.
double getCosAngle() const
Edge Angle.
double alpha
Angle (degrees)
std::string className() const override
Public identifer.
Cone & operator=(const Cone &)=delete
Cone(const Cone &)=default
Holds a basic quadratic surface.
Helper class which provides the Collimation Length for SANS instruments.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)