xc
|
Line in a two-dimensional space (parametric form). More...
#include <Line2d.h>
Public Member Functions | |
Line2dParametricForm (const Pos2d &o, const Vector2d &d) | |
const Pos2d & | GetOrg (void) const |
const Vector2d & | GetDir (void) const |
Pos2d | getPoint (const GEOM_FT &lambda) const |
Return a point at a distance lambda from its origin. | |
GEOM_FT | Parametro (const Pos2d &p) const |
Return the parameter that corresponds to the point over the line. More... | |
Line in a two-dimensional space (parametric form).
GEOM_FT Line2dParametricForm::Parametro | ( | const Pos2d & | p | ) | const |
Return the parameter that corresponds to the point over the line.
The point is supposed to belong to the line.