Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Piecewise< SBasis > Geom::atan2 ( D2< SBasis > const &  vect,
double  tol = .01,
unsigned  order = 3 
)

Return a function which gives the angle of vect at each point.

Parameters:
vecta piecewise parameteric curve.
tolthe maximum error allowed.
orderthe maximum degree to use for approximation

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

References atan2().

Referenced by Inkscape::UI::ControlPointSelection::_keyboardRotate(), angle_between(), atan2(), Inkscape::Text::Layout::characterBoundingBox(), Inkscape::Text::Layout::fitToPathAlign(), Inkscape::Text::Layout::queryCursorShape(), sp_selection_rotate_screen(), spdc_pen_set_angle_distance_status_message(), and unclump_dist().

                                                             {
    return atan2(Piecewise<D2<SBasis> >(vect),tol,order);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index