47 lines
897 B
C++
47 lines
897 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XPointDir2dÀà
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: XPointDir2dÀàÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _XPointDir2d_H_
|
|
#define _XPointDir2d_H_
|
|
|
|
#ifndef _XPOINT_H_
|
|
#include "XPoint.h"
|
|
#endif
|
|
|
|
class GEOAPI XPointDir2d : public XPoint
|
|
{
|
|
public:
|
|
|
|
XPointDir2d();
|
|
|
|
XPointDir2d(ads_real dDrt);
|
|
|
|
XPointDir2d(const XPointDir2d &src);
|
|
|
|
~XPointDir2d();
|
|
|
|
XPointDir2d & operator = (const XPointDir2d &src);
|
|
|
|
XPoint Polar(ads_real nDist) const;
|
|
|
|
void ShowMe();
|
|
|
|
void TransformBy(ads_matrix mat);
|
|
|
|
XPointDir2d TransformAs(ads_matrix mat) const;
|
|
|
|
public:
|
|
|
|
ads_real nDirection;
|
|
|
|
};
|
|
|
|
#endif
|