Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Point.h@5:d7d16cb9c974, 2015-08-17 (annotated)
- Committer:
- tyleralt
- Date:
- Mon Aug 17 21:56:25 2015 +0000
- Revision:
- 5:d7d16cb9c974
- Parent:
- 0:ded79d89abdf
export commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tyleralt | 0:ded79d89abdf | 1 | #ifndef POINT |
tyleralt | 0:ded79d89abdf | 2 | #define POINT |
tyleralt | 0:ded79d89abdf | 3 | class Point{ |
tyleralt | 0:ded79d89abdf | 4 | |
tyleralt | 0:ded79d89abdf | 5 | int offAngles [8]; |
tyleralt | 0:ded79d89abdf | 6 | int positionRadian, positionHeight, positionDistance; |
tyleralt | 0:ded79d89abdf | 7 | public : |
tyleralt | 0:ded79d89abdf | 8 | Point (); |
tyleralt | 0:ded79d89abdf | 9 | Point (int , int , int ); |
tyleralt | 0:ded79d89abdf | 10 | int getArraySlice(void); |
tyleralt | 5:d7d16cb9c974 | 11 | int getDegree(void); |
tyleralt | 0:ded79d89abdf | 12 | char getIdentifyingChar(void); |
tyleralt | 0:ded79d89abdf | 13 | int getPositionDistance(void); |
tyleralt | 0:ded79d89abdf | 14 | void moveUp(); |
tyleralt | 0:ded79d89abdf | 15 | void moveDown(); |
tyleralt | 0:ded79d89abdf | 16 | void rotateRight(); |
tyleralt | 0:ded79d89abdf | 17 | void rotateLeft(); |
tyleralt | 0:ded79d89abdf | 18 | void moveIn(); |
tyleralt | 0:ded79d89abdf | 19 | void moveOut(); |
tyleralt | 0:ded79d89abdf | 20 | }; |
tyleralt | 0:ded79d89abdf | 21 | #endif |