#include <Geometry.h>
Public Member Functions | |
PixeledLine (int x1, int x2, int y1, int y2) | |
PixeledLine (Vector2< int > start, Vector2< int > end) | |
void | calculatePixels () |
int | getNumberOfPixels () const |
int | getPixelX (int i) const |
int | getPixelY (int i) const |
Private Types | |
enum | { maxNumberOfPixelsInLine = 600 } |
Private Attributes | |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
int | numberOfPixels |
int | x_coordinate [maxNumberOfPixelsInLine] |
int | y_coordinate [maxNumberOfPixelsInLine] |
|
Definition at line 142 of file Geometry.h. |
|
Definition at line 79 of file Geometry.h. References calculatePixels(). |
Here is the call graph for this function:
|
Definition at line 84 of file Geometry.h. References calculatePixels(), x1, x2, y1, and y2. |
Here is the call graph for this function:
|
Definition at line 89 of file Geometry.h. References numberOfPixels, x1, x2, x_coordinate, y1, y2, and y_coordinate. Referenced by PixeledLine(). |
|
|
|
|
Definition at line 139 of file Geometry.h. Referenced by calculatePixels(), and PixeledLine(). |
|
Definition at line 139 of file Geometry.h. Referenced by calculatePixels(), and PixeledLine(). |
|
Definition at line 139 of file Geometry.h. Referenced by calculatePixels(), and PixeledLine(). |
|
Definition at line 139 of file Geometry.h. Referenced by calculatePixels(), and PixeledLine(). |
|
Definition at line 140 of file Geometry.h. Referenced by calculatePixels(), and getNumberOfPixels(). |
|
Definition at line 143 of file Geometry.h. Referenced by calculatePixels(), and getPixelX(). |
|
Definition at line 144 of file Geometry.h. Referenced by calculatePixels(), and getPixelY(). |