Public Member Functions | |
| TruthLine () | |
| For STL use only. | |
| TruthLine (float _x0, float _y0, float _x1, float _y1) | |
| The end points of the line in any cartesian coordinate system. | |
| bool | get_x (float y, float *x) const |
| find intersection point for this y | |
| bool | get_y (float x, float *y) const |
| find intersection point for this y | |
Static Public Member Functions | |
| static TruthLine | connect (const TruthLine &from, const TruthLine &to) |
| Create a line that connects the end point of from to the begin point of to. | |
Friends | |
| class | TruthPolygon |
| w2img::TruthLine::TruthLine | ( | ) | [inline] |
For STL use only.
| w2img::TruthLine::TruthLine | ( | float | _x0, | |
| float | _y0, | |||
| float | _x1, | |||
| float | _y1 | |||
| ) | [inline] |
The end points of the line in any cartesian coordinate system.
| static TruthLine w2img::TruthLine::connect | ( | const TruthLine & | from, | |
| const TruthLine & | to | |||
| ) | [static] |
Create a line that connects the end point of from to the begin point of to.
| bool w2img::TruthLine::get_x | ( | float | y, | |
| float * | x | |||
| ) | const [inline] |
find intersection point for this y
| bool w2img::TruthLine::get_y | ( | float | x, | |
| float * | y | |||
| ) | const [inline] |
find intersection point for this y
friend class TruthPolygon [friend] |
1.4.7