|
| SmartLineSegment (Point P1, Point P2) |
| Vytvori objekt LINE SEGMENT V konstrukture sa vytvori aj rovnica usecky - resp. priamky More...
|
|
Point | getPointOutOfLine (Graphics g, int pointIndex, int distance) |
| Na vstupe je index jedneho z bodu usecky a vzdialenost. Vrati bod, ktori More...
|
|
Boolean | isPointOnLine (Graphics g, Point P) |
| Rozhodne ci bod lezi na usecke TODO : treba overit ci sedi aj rovnici priamke More...
|
|
void | _drawLine (Graphics g) |
| Vykresli kusok usecky More...
|
|
|
Point | p1 |
|
Point | p2 |
|
double | a |
|
double | b |
|
mental_maps.geometry.Smart.SmartLineSegment.SmartLineSegment |
( |
Point |
P1, |
|
|
Point |
P2 |
|
) |
| |
Vytvori objekt LINE SEGMENT V konstrukture sa vytvori aj rovnica usecky - resp. priamky
- Parameters
-
void mental_maps.geometry.Smart.SmartLineSegment._drawLine |
( |
Graphics |
g | ) |
|
Vykresli kusok usecky
- Parameters
-
Point mental_maps.geometry.Smart.SmartLineSegment.getPointOutOfLine |
( |
Graphics |
g, |
|
|
int |
pointIndex, |
|
|
int |
distance |
|
) |
| |
Na vstupe je index jedneho z bodu usecky a vzdialenost. Vrati bod, ktori
- je od bodu (urceneho indexom) vzdialeny o urcenu vzdialenost
- lezi na priamke, na ktorej aj usecka
- vrateni bod na usecke nelezi
- Parameters
-
- Returns
Boolean mental_maps.geometry.Smart.SmartLineSegment.isPointOnLine |
( |
Graphics |
g, |
|
|
Point |
P |
|
) |
| |
Rozhodne ci bod lezi na usecke TODO : treba overit ci sedi aj rovnici priamke
- Parameters
-
- Returns
double mental_maps.geometry.Smart.SmartLineSegment.a |
double mental_maps.geometry.Smart.SmartLineSegment.b |
Point mental_maps.geometry.Smart.SmartLineSegment.p1 |
Point mental_maps.geometry.Smart.SmartLineSegment.p2 |
The documentation for this class was generated from the following file: