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

📄 objects.h

📁 robocup3d源化码 Nexus3D.tar.gz
💻 H
字号:
/*Copyright (C) 2005 Ferdowsi University*/#ifndef OBJECTS_H#define OBJECTS_H#include "types.h"#include "math.h"struct ObjectInfo{	Vector3f  pos;	Vector3f  vel;	float time;	bool  is_seen;};class FieldObject{	private:	public :		FieldObject();		Vector3f pos;		float distance;/*distance to me*/};class MobileObject : public FieldObject{	public:		int   index_pos;		int   index_vel;		ObjectInfo last_info[5];		Vector3f vel;		Vector3f acc;		bool is_seen;		float env_conf;   //enviroment confidence		float speed;		MobileObject();		void Update(Vector3f , float);		void Update();};class Line{	// Ax+By+C=0 /	private:	public :		float A,B,C;		//Line(){};		Line(float ,float ,float );		float Angle();		float Slope();};#endif // OBJECTS_H

⌨️ 快捷键说明

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