码迷,mamicode.com
首页 > 其他好文 > 详细

实时控制软件设计第二次作业

时间:2015-12-12 01:31:32      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

1-1、Point.h

#ifndef MY_POINT

#define MY_POINT

class Point{

private:

double _x;

double _y;

public:

Point(double x,double y);

double getX();

double getY();

};

#endif

 1-2、Point.cpp

#include"Point.h"

#include<iostream>

Point::Point(double x,double y)

{this->_x=x;

this->_y=y;}

double Point::getX()

{return this->_x;} 

double Point::getY()

{return this->_y;}

2-1、Frame.h

#ifndef MY_POINT

#define MY_POINT

#include<cmath>

#include<Eigen/Dense>

#include"Point.h"

class WordFrame{};

class JointFrame{};

class TaskFrame{};

#endif

2-2、Frame.cpp

#include"Frame.h"


 

 

 

 


 

 

实时控制软件设计第二次作业

标签:

原文地址:http://www.cnblogs.com/lsheng/p/5037309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!