⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 path.h

📁 这是书上的代码
💻 H
字号:
// Path.h: interface for the CPath class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PATH_H__F2F069C3_3C71_11D4_A4DD_00D0B7213322__INCLUDED_)
#define AFX_PATH_H__F2F069C3_3C71_11D4_A4DD_00D0B7213322__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Enumeration of standard path types
enum TPathType {LINE_TYPE, SPP_TYPE, SPLINE_TYPE, SCP_TYPE, SIDE_TYPE,
					 LAZY_S_TYPE,ARC_TYPE};
class CPath : public CObject  //此类为路径类的基类
{
public:
	USHORT m_uId;                  // Path ID number
	USHORT m_uType;                // Path topological type
	USHORT m_uExtType;             // Extended path type
	USHORT m_uStartNode;           // The ID of the start node
	USHORT m_uEndNode;             // The ID of the end node
	float  m_fVeloLimit;           // The velocity limit on the path
	SHORT m_uGuideType;           // The guide method on this path
								   // 0 - Dead reckoning; 1 - laser; 2 - tape
public:
	CPath();
	virtual ~CPath();
	virtual BOOL Create(CArchive& ar,USHORT ver);
	virtual BOOL Save(CArchive& ar,USHORT ver);
};

#endif // !defined(AFX_PATH_H__F2F069C3_3C71_11D4_A4DD_00D0B7213322__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -