std::shared_ptr< geometrize::Shape > randomShapeOf(const ShapeTypes types)
randomShapeOf Creates a random shape from the types supplied.
Definition: shapefactory.cpp:129
ShapeTypes
The ShapeTypes enum specifies the types of shapes that can be used. These can be combined to produce ...
Definition: shapetypes.h:17
std::shared_ptr< geometrize::Shape > randomShape()
randomShape Creates a random shape.
Definition: shapefactory.cpp:124
std::shared_ptr< geometrize::Shape > create(const geometrize::ShapeTypes t)
create Creates a new shape of the specified type.
Definition: shapefactory.cpp:95
std::function< std::shared_ptr< geometrize::Shape >()> createDefaultShapeCreator(const geometrize::ShapeTypes types, const std::int32_t xMin, const std::int32_t yMin, const std::int32_t xMax, const std::int32_t yMax)
createDefaultShapeCreator Creates an instance of the default shape creator object....
Definition: shapefactory.cpp:25