class Line


Definition#include <GeometricalObjects.h>
InheritsShape [public ]
Inherited byWallLine
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

 Line ()

Line

 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

 ~Line ()

~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.

Vector2D  get_normal (const Vector2D& pos)

get_normal

Reimplemented from Shape.

void  draw_shape (bool erase)

draw_shape

Reimplemented from Shape.

Vector2D  get_start_point ()

get_start_point

Vector2D  get_direction ()

get_direction

double  get_length ()

get_length

double  get_thickness ()

get_thickness

Vector2D start_point

start_point

[protected]

Vector2D direction

direction

[protected]

double length

length

[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]

 Line ()

Line

[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.

Vector2D  get_normal (const Vector2D& pos)

get_normal

[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.