RandomPointGenerator will generate points based on the shape passed.
Definition: RandomPointGenerator.h:35
RandomPointGenerator()
Constructor.
Definition: RandomPointGenerator.cpp:30
SurgSim::Math::Vector3d pointOnShape(std::shared_ptr< SurgSim::Math::Shape > shape) override
Generates one point on the surface of the given shape.
Definition: RandomPointGenerator.cpp:53
PointGenerator is used to generate points inside or on the surface of a given shape.
Definition: PointGenerator.h:37
SurgSim::Math::Vector3d pointInShape(std::shared_ptr< SurgSim::Math::Shape > shape) override
Generates one point inside the given shape.
Definition: RandomPointGenerator.cpp:42