#ifndef PLINE_H
#define PLINE_H
#include <ads/adsinc.h>
#include <ads/lists.h>
#include <ads/algebra3.h>
/** Polyline **/
class pline : public ADS_ENT_OBJ
{
private:
Lists<vec3> vertices;
ads_name name;
ADS_STRING _handle;
public:
pline( struct resbuf *_rb );
double nearest(const vec3 &point);
ADS_STRING handle(){return _handle;}
void Mark(const char * text, const char *layer, ads_real height);
vec3 first();
vec3 last();
protected:
void get_points();
private:
BASIC_CPP_STUFF( pline )
};
#endif // PLINE_H
syntax highlighted by Code2HTML, v. 0.9.1