RobWorkProject
24.8.23

Utility functions for functions dealing with analytic geometry. More...
#include <AnalyticUtil.hpp>
Static Public Member Functions  
static std::list< std::vector< rw::math::Vector3D< double > > >  combinePolygons (const std::vector< rw::math::Vector3D< double >> &border, const std::list< std::vector< std::size_t >> &subborder, const std::vector< rw::geometry::QuadraticCurve > &curves, double stepsPerRevolution) 
Combine discretized borders with curves to form polygons. More...  
Utility functions for functions dealing with analytic geometry.

static 
Combine discretized borders with curves to form polygons.
The curves are themselves discretized to form the polygon.
border  [in] the full list of points. 
subborder  [in] a list of border sections. Each section is a vector of indices into border. 
curves  [in] the curves to combine with the border sections. 
stepsPerRevolution  [in] the resolution for discretization of the curves. 