15namespace Geometry::detail {
77 const V3D &p7,
const V3D &p8) {
79 m_points.assign({p1, p2, p3, p4, p5, p6, p7, p8});
103 m_points.assign({center, symmetryAxis});
112 m_points.assign({centreBottomBase, symmetryAxis});
144 os <<
"HOLLOWCYLINDER";
147 os.setstate(std::ios_base::failbit);
SphereGeometry sphereGeometry() const
void getObjectGeometry(GeometryShape &shape, std::vector< Kernel::V3D > &points, double &innerRadius, double &radius, double &height) const
void setSphere(const Kernel::V3D ¢er, double radius)
sets the geometry handler for a sphere
@ HOLLOWCYLINDER
HOLLOW CYLINDER.
ConeGeometry coneGeometry() const
void setCylinder(const Kernel::V3D ¢erBottomBase, const Kernel::V3D &symmetryAxis, double radius, double height)
sets the geometry handler for a cylinder
GeometryShape shape() const
double m_radius
Radius for the sphere, cone and cylinder; Also outer radius for hollow cylinder;.
double innerRadius() const
void setCone(const Kernel::V3D ¢er, const Kernel::V3D &symmetryAxis, double radius, double height)
sets the geometry handler for a cone
void setHollowCylinder(const Kernel::V3D ¢reBottomBase, const Kernel::V3D &symmetryAxis, double innerRadius, double outerRadius, double height)
sets the geometry handler for a hollow cylinder
double m_height
height for cone, cylinder and hollow cylinder;
void setCuboid(const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &)
sets the geometry handler for a cuboid
bool operator==(const ShapeInfo &other)
CylinderGeometry cylinderGeometry() const
CuboidGeometry cuboidGeometry() const
std::vector< Kernel::V3D > m_points
const std::vector< Kernel::V3D > & points() const
double m_innerRadius
Inner radius for hollow cylinder.
void setHexahedron(const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &, const Kernel::V3D &)
sets the geometry handler for a hexahedron
HexahedronGeometry hexahedronGeometry() const
HollowCylinderGeometry hollowCylinderGeometry() const
MANTID_GEOMETRY_DLL std::ostream & operator<<(std::ostream &os, const ShapeInfo::GeometryShape shape)
constexpr double Tolerance
Standard tolerance value.
Helper class which provides the Collimation Length for SANS instruments.