RobWorkProject  24.8.23-
Static Public Member Functions | List of all members
AnalyticUtil Class Reference

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...
 

Detailed Description

Utility functions for functions dealing with analytic geometry.

Member Function Documentation

◆ combinePolygons()

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 
)
static

Combine discretized borders with curves to form polygons.

The curves are themselves discretized to form the polygon.

Parameters
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.
Returns
a list of polygons. Each polygon is a list of points.

The documentation for this class was generated from the following file: