Public Methods
- Line ()
- Line (const Vector2D& sp, const Vector2D& d, const double len, const double th)
- Line (const Vector2D& sp, const Vector2D& d, const double len, const double th,
const double b_c, const double hardn)
- virtual ~Line ()
- double get_distance (const Vector2D& pos, const Vector2D& vel, const double size)
- bool within_distance (const Vector2D& pos, const double size)
- Vector2D get_normal (const Vector2D& pos)
- void draw_shape (bool erase)
- Vector2D get_start_point ()
- Vector2D get_direction ()
- double get_length ()
- double get_thickness ()
Protected Methods
Protected Members
Line (const Vector2D& sp, const Vector2D& d, const double len, const double th)
| Line |
Line (const Vector2D& sp, const Vector2D& d, const double len, const double th,
const double b_c, const double hardn)
| Line |
[virtual]
double get_distance (const Vector2D& pos, const Vector2D& vel, const double size)
| get_distance |
Reimplemented from Shape.
bool within_distance (const Vector2D& pos, const double size)
| within_distance |
Reimplemented from Shape.
Reimplemented from Shape.
void draw_shape (bool erase)
| draw_shape |
Reimplemented from Shape.
Vector2D get_start_point ()
| get_start_point |
double get_length ()
| get_length |
double get_thickness ()
| get_thickness |
[protected]
[protected]
[protected]
double thickness
| thickness |
[protected]
Vector2D last_drawn_start_point
| last_drawn_start_point |
[protected]
Vector2D last_drawn_direction
| last_drawn_direction |
[protected]
double last_drawn_length
| last_drawn_length |
[protected]
double last_drawn_thickness
| last_drawn_thickness |
[protected]
[protected]
Line (const Vector2D& sp, const Vector2D& d, const double len, const double th)
| Line |
[protected]
inline double
get_distance (const Vector2D& pos, const Vector2D& vel, const double size)
| get_distance |
[protected]
Reimplemented from Shape.
[protected]
Reimplemented from Shape.
bool
within_distance (const Vector2D& pos, const double size)
| within_distance |
[protected]
Reimplemented from Shape.
void
draw_shape ( bool erase )
| draw_shape |
[protected]
Reimplemented from Shape.
Generated by: york on uerce13ws03 on Fri Oct 15 13:24:52 2004, using kdoc 2.0a54. |