RobWorkProject  24.12.4-
Public Types | Public Member Functions | List of all members
BREP::CommonCurveSet Class Referenceabstract

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

#include <BREP.hpp>

Inherited by QuadraticBREP::CommonQuadraticCurveSet.

Public Types

typedef rw::core::Ptr< const CommonCurveSetCPtr
 Smart pointer type to CommonCurveSet.
 

Public Member Functions

 CommonCurveSet ()
 Constructor.
 
virtual ~CommonCurveSet ()
 Destructor.
 
virtual std::size_t size () const =0
 Get the number of curves in the set. More...
 
virtual const Curvecurve (std::size_t index) const =0
 Get a curve in the set. More...
 
virtual const SurfacesurfaceLeft (std::size_t index) const =0
 Get one of the neighbour surfaces to the curve. More...
 
virtual const SurfacesurfaceRight (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 Curve& 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.

Implemented in QuadraticBREP::CommonQuadraticCurveSet.

◆ size()

virtual std::size_t size ( ) const
pure virtual

Get the number of curves in the set.

Returns
the number of curves.

Implemented in QuadraticBREP::CommonQuadraticCurveSet.

◆ surfaceLeft()

virtual const Surface& 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.

Implemented in QuadraticBREP::CommonQuadraticCurveSet.

◆ surfaceRight()

virtual const Surface& 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.

Implemented in QuadraticBREP::CommonQuadraticCurveSet.


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