12#include <boost/container/small_vector.hpp>
50 void Accept(
const Surface &)
override;
52 void Accept(
const Plane &)
override;
53 void Accept(
const Sphere &)
override;
54 void Accept(
const Cone &)
override;
55 void Accept(
const Cylinder &)
override;
56 void Accept(
const General &)
override;
64 unsigned long getNPoints()
const {
return (
unsigned long)m_intersectionPointsOut.size(); }
70 void sortAndRemoveDuplicates();
Holds a cone in vector form.
Holds a cylinder as a vector form.
Holds a general quadratic surface.
Interset of Line with a surface.
const Line::PType & getPoints() const
Get the intersection points.
DistancesType m_distancesOut
The distance.
Line::PType m_intersectionPointsOut
The intersection point.
const DistancesType & getDistance() const
Get the distance.
unsigned long getNPoints() const
Get the number of intersection points.
boost::container::small_vector< double, 5 > DistancesType
void setLine(const Kernel::V3D &, const Kernel::V3D &)
Re-set the line.
boost::container::small_vector< Kernel::V3D, 5 > PType
Holds a basic quadratic surface.
Holds a Sphere as vector form.
Holds a basic quadratic surface.
Helper class which provides the Collimation Length for SANS instruments.