RobWorkProject  24.5.15-
Public Types | Public Member Functions | List of all members
QuadraticBREP::CommonQuadraticCurveSet Class Referenceabstract

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

#include <QuadraticBREP.hpp>

Inherits BREP::CommonCurveSet.

Public Types

typedef rw::core::Ptr< const CommonQuadraticCurveSetCPtr
 Smart pointer type to CommonQuadraticCurveSet.
 
- Public Types inherited from BREP::CommonCurveSet
typedef rw::core::Ptr< const CommonCurveSetCPtr
 Smart pointer type to CommonCurveSet.
 

Public Member Functions

 CommonQuadraticCurveSet ()
 Constructor.
 
virtual ~CommonQuadraticCurveSet ()
 Destructor.
 
virtual std::size_t size () const =0
 Get the number of curves in the set. More...
 
virtual const rw::geometry::QuadraticCurvecurve (std::size_t index) const =0
 Get a curve in the set. More...
 
virtual const rw::geometry::QuadraticSurfacesurfaceLeft (std::size_t index) const =0
 Get one of the neighbour surfaces to the curve. More...
 
virtual const rw::geometry::QuadraticSurfacesurfaceRight (std::size_t index) const =0
 Get the other neighbour surfaces to the curve. More...
 
- Public Member Functions inherited from BREP::CommonCurveSet
 CommonCurveSet ()
 Constructor.
 
virtual ~CommonCurveSet ()
 Destructor.
 

Detailed Description

Convenience type for a set of curves in a QuadraticBREP.

Member Function Documentation

◆ curve()

virtual const rw::geometry::QuadraticCurve& 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.

Implements BREP::CommonCurveSet.

◆ size()

virtual std::size_t size ( ) const
pure virtual

Get the number of curves in the set.

Returns
the number of curves.

Implements BREP::CommonCurveSet.

◆ surfaceLeft()

virtual const rw::geometry::QuadraticSurface& 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.

Implements BREP::CommonCurveSet.

◆ surfaceRight()

virtual const rw::geometry::QuadraticSurface& 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.

Implements BREP::CommonCurveSet.


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