Go::LoopUtils Namespace Reference

Functions for checking the orientation of loops (closed curves), and whether one loop on a surface encloses another. More...


Functions

bool loopIsCCW (const std::vector< boost::shared_ptr< Go::SplineCurve > > &simple_par_loop, double int_tol)
 Check if a closed 2D-loop is oriented counterclockwise or not.
bool paramIsCCW (const std::vector< boost::shared_ptr< Go::CurveOnSurface > > &loop, double int_tol)
 Check if a loop defined by CurveOnSurface s is oriented counterclockwise in the surface's parametric domain.
bool firstLoopInsideSecond (const std::vector< boost::shared_ptr< Go::CurveOnSurface > > &first_loop, const std::vector< boost::shared_ptr< Go::CurveOnSurface > > &second_loop, double loop_tol, double int_tol)
 Test whether one loop lies entirely within another.


Detailed Description

Functions for checking the orientation of loops (closed curves), and whether one loop on a surface encloses another.
Generated on Mon Jun 11 14:48:19 2007 for GoTools Core Library by  doxygen 1.5.1