RobWorkProject  23.9.11-
Public Types | Public Member Functions | List of all members
ImplicitBREP::CommonParametricCurveSet Class Referenceabstract

Convenience type for a set of curves in a BREP. More...

#include <ImplicitBREP.hpp>

Public Types

typedef rw::core::Ptr< const CommonParametricCurveSetCPtr
 Smart pointer type to CommonParametricCurveSet.
 

Public Member Functions

 CommonParametricCurveSet ()
 Constructor.
 
virtual ~CommonParametricCurveSet ()
 Destructor.
 
virtual std::size_t size () const =0
 Get the number of curves in the set. More...
 
virtual const rw::geometry::ParametricCurvecurve (std::size_t index) const =0
 Get a curve in the set. More...
 
virtual const rw::geometry::ImplicitSurfacesurfaceLeft (std::size_t index) const =0
 Get one of the neighbour surfaces to the curve. More...
 
virtual const rw::geometry::ImplicitSurfacesurfaceRight (std::size_t index) const =0
 Get the other neighbour surfaces to the curve. More...
 

Detailed Description

Convenience type for a set of curves in a BREP.

Member Function Documentation

◆ curve()

virtual const rw::geometry::ParametricCurve& curve ( std::size_t  index) const
pure virtual

Get a curve in the set.

Parameters
index[in] the curve index, which should be less than size().
Returns
a reference to the curve data.

◆ size()

virtual std::size_t size ( ) const
pure virtual

Get the number of curves in the set.

Returns
the number of curves.

◆ surfaceLeft()

virtual const rw::geometry::ImplicitSurface& surfaceLeft ( std::size_t  index) const
pure virtual

Get one of the neighbour surfaces to the curve.

Parameters
index[in] the curve index, which should be less than size().
Returns
a reference to the surface.

◆ surfaceRight()

virtual const rw::geometry::ImplicitSurface& surfaceRight ( std::size_t  index) const
pure virtual

Get the other neighbour surfaces to the curve.

Parameters
index[in] the curve index, which should be less than size().
Returns
a reference to the surface.

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