Logo Search packages:      
Sourcecode: inkscape version File versions

D2< Piecewise< SBasis > > Geom::tan2 ( SBasis const &  angle,
double  tol,
unsigned  order 
)

tan2 is the pseudo-inverse of atan2. It takes an angle and returns a unit_vector that points in the direction of angle.

Parameters:
angle a piecewise function of angle wrt t.
tol the maximum error allowed.
order the maximum degree to use for approximation

Definition at line 199 of file sbasis-geometric.cpp.

                                                         {
    return tan2(Piecewise<SBasis>(angle), tol, order);
}


Generated by  Doxygen 1.6.0   Back to index