virtual SurgSim::Math::Vector3d pointInShape(std::shared_ptr< SurgSim::Math::Shape > shape)=0
Generates one point inside the given shape.
std::uniform_real_distribution< double > m_closedZeroOneDistribution
Definition: PointGenerator.h:63
virtual ~PointGenerator()
Destructor.
Definition: PointGenerator.cpp:35
std::uniform_real_distribution< double > m_closedZeroOpenOneDistribution
Definition: PointGenerator.h:64
std::uniform_real_distribution< double > m_openOneOneDistribution
Definition: PointGenerator.h:61
std::mt19937 m_generator
Definition: PointGenerator.h:59
std::uniform_real_distribution< double > m_closedOneOneDistribution
Definition: PointGenerator.h:62
PointGenerator is used to generate points inside or on the surface of a given shape.
Definition: PointGenerator.h:38
virtual SurgSim::Math::Vector3d pointOnShape(std::shared_ptr< SurgSim::Math::Shape > shape)=0
Generates one point on the surface of the given shape.
PointGenerator()
Constructor.
Definition: PointGenerator.cpp:25
DataStructures::Vertices< ParticleData > Particles
Definition: Particles.h:53