Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TADSGePointDir2d.h
T

46 lines
1010 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TADSGePointDir2d类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: TADSGePointDir2d类声明
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _TADSGEPOINTDIR2D_H_
#define _TADSGEPOINTDIR2D_H_
#ifndef _TADSGEPOINT3D_H_
#include "TADSGePoint3d.h"
#endif
class GEOAPI TADSGePointDir2d : public TADSGePoint3d
{
public:
TADSGePointDir2d();
TADSGePointDir2d(ads_real dDrt);
TADSGePointDir2d(const TADSGePointDir2d &src);
~TADSGePointDir2d();
TADSGePointDir2d & operator = (const TADSGePointDir2d &src);
TADSGePoint3d Polar(ads_real nDist) const;
void ShowMe();
void TransformBy(ads_matrix mat);
TADSGePointDir2d TransformAs(ads_matrix mat) const;
public:
ads_real nDirection;
};
#endif