32 lines
480 B
C++
32 lines
480 B
C++
#pragma once
|
|
#include "ADSGePoint3d.h"
|
|
|
|
class ADSGePointDir2d : public ADSGePoint3d
|
|
{
|
|
public:
|
|
|
|
ADSGePointDir2d();
|
|
|
|
ADSGePointDir2d(ads_real dDrt);
|
|
|
|
ADSGePointDir2d(const ADSGePointDir2d &src);
|
|
|
|
~ADSGePointDir2d();
|
|
|
|
ADSGePointDir2d & operator = (const ADSGePointDir2d &src);
|
|
|
|
ADSGePoint3d Polar(ads_real nDist) const;
|
|
|
|
void ShowMe();
|
|
|
|
void TransformBy(ads_matrix mat);
|
|
|
|
ADSGePointDir2d TransformAs(ads_matrix mat) const;
|
|
|
|
public:
|
|
|
|
ads_real nDirection;
|
|
|
|
};
|
|
|