You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
573 B
C

1 month ago
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD> Angle.h
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
// <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include ".\point2d.h"
class AFX_EXT_CLASS CAngle : public CPoint2D
{
protected:
double cosa,sina,ix,iy;
public:
CAngle(void);
~CAngle(void);
void Create();
void Create(double angle, double x0, double y0);
void Create(CPoint& point);
void Rotate(double& x, double& y);
void operator=(CAngle& ag);
public:
double angle;
};