Describes point.
More...
#include <point.h>
Describes point.
Definition at line 39 of file point.h.
◆ operator+()
Adds point.
- Parameters
-
| p | - point values to add to the point. |
Definition at line 120 of file point.h.
◆ operator+=()
Adds point.
- Parameters
-
| p | - point values to add to the point. |
Definition at line 89 of file point.h.
◆ operator-()
Subtracts point.
- Parameters
-
| p | - point values to subtract from the point. |
Definition at line 111 of file point.h.
◆ operator-=()
Subtracts point.
- Parameters
-
| p | - point values to subtract from the point. |
Definition at line 100 of file point.h.
◆ operator/()
| _NanoPoint _NanoPoint::operator/ |
( |
const int16_t |
d | ) |
const |
|
inline |
Divides x,y value of the point by d value.
- Parameters
-
Definition at line 147 of file point.h.
◆ operator<<()
| _NanoPoint _NanoPoint::operator<< |
( |
const uint8_t |
bits | ) |
const |
|
inline |
Shifts left x,y value of the point by bits value.
- Parameters
-
| bits | - number of bits to shift |
Definition at line 138 of file point.h.
◆ operator<<=()
| _NanoPoint& _NanoPoint::operator<<= |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts left x,y value of the point by bits value.
- Parameters
-
| bits | - number of bits to shift |
Definition at line 78 of file point.h.
◆ operator>>()
| _NanoPoint _NanoPoint::operator>> |
( |
const uint8_t |
bits | ) |
const |
|
inline |
Shifts right x,y value of the point by bits value.
- Parameters
-
| bits | - number of bits to shift |
Definition at line 129 of file point.h.
◆ operator>>=()
| _NanoPoint& _NanoPoint::operator>>= |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts right x,y value of the point by bits value.
- Parameters
-
| bits | - number of bits to shift |
Definition at line 67 of file point.h.
◆ setPoint()
Initializes NanoPoint with specified values.
- Parameters
-
| px | - x position |
| py | - y position |
Definition at line 57 of file point.h.
The documentation for this struct was generated from the following file: