2015-09-02 18:07:17 +08:00
|
|
|
#ifndef _TColgp_SequenceOfXYZ_HeaderFile
|
|
|
|
#define _TColgp_SequenceOfXYZ_HeaderFile
|
|
|
|
|
|
|
|
#include <gp_XYZ.hxx>
|
|
|
|
|
|
|
|
class TColgp_SequenceOfXYZ
|
|
|
|
{
|
|
|
|
public:
|
2016-06-29 22:52:32 +08:00
|
|
|
struct const_iterator
|
|
|
|
{
|
|
|
|
const gp_XYZ& operator*() const
|
|
|
|
{
|
|
|
|
static const gp_XYZ coords;
|
|
|
|
return coords;
|
|
|
|
}
|
|
|
|
|
|
|
|
const_iterator& operator++() { return *this; }
|
|
|
|
|
|
|
|
bool operator!=(const const_iterator& /*other*/) const
|
|
|
|
{ return true; }
|
|
|
|
};
|
|
|
|
|
|
|
|
int Size() const { return 0; }
|
|
|
|
|
2015-09-02 18:07:17 +08:00
|
|
|
const gp_XYZ& Value(const int /*Index*/) const
|
|
|
|
{
|
|
|
|
static gp_XYZ val;
|
|
|
|
return val;
|
|
|
|
}
|
2016-06-29 22:52:32 +08:00
|
|
|
|
|
|
|
const_iterator cbegin() const { return cend(); }
|
|
|
|
const_iterator cend() const { return const_iterator(); }
|
2015-09-02 18:07:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _TColgp_SequenceOfXYZ_HeaderFile
|