xc
Public Member Functions | List of all members
Line2dParametricForm Class Reference

Line in a two-dimensional space (parametric form). More...

#include <Line2d.h>

Public Member Functions

 Line2dParametricForm (const Pos2d &o, const Vector2d &d)
 
const Pos2dGetOrg (void) const
 
const Vector2dGetDir (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...
 

Detailed Description

Line in a two-dimensional space (parametric form).

Member Function Documentation

◆ Parametro()

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.


The documentation for this class was generated from the following files: