Common/Geom/CurveAlg.h File Reference

#include <Geom/Curve.h>
#include <Util/TypeStripper.h>
#include <boost/variant.hpp>

Go to the source code of this file.

Namespaces

namespace  geom
namespace  geom::detail

Typedefs

typedef boost::variant< geom::Point2d,
CurvePtr2d
geom::CurveIntersectionResult
typedef std::vector< CurveIntersectionResultgeom::CurveIntersectionResults

Functions

void geom::detail::getBoundingBoxImpl (const geom::ParametricCurve< 2 > &c, BoundingBox< geom::Point2d > *pBox)
void geom::detail::intersectCurvesImpl (const geom::ParametricCurve< 2 > &c1, const geom::ParametricCurve< 2 > &c2, double tol, CurveIntersectionResults *pIntersections)
bool geom::detail::projectPointToCurveImpl (const geom::ParametricCurve< 2 > &curve, const Point2d &pt, double tol, Point2d *pProjPt=0, double *pParam=0)
void geom::detail::tessellateCurveImpl (const geom::ParametricCurve< 2 > &curve, double tol, std::vector< Point2d > *pPoints)
double geom::detail::getLengthImpl (const geom::ParametricCurve< 2 > &curve)
template<class Curve>
void geom::getBoundingBox (const Curve &c, BoundingBox< geom::Point2d > *pBox)
template<class Curve>
void geom::intersectCurves (const Curve &c1, const Curve &c2, double tol, CurveIntersectionResults *pIntersections)
template<class Curve>
double geom::getLength (const Curve &curve)
CurvePtr2d geom::createSubCurve (const CurvePtr2d &curve, double startParam, double endParam)
template<class Curve, class Point>
bool geom::projectPointToCurve (const Curve &curve, const Point &pt, double tol, Point *pProjPt=0, double *pParam=0)
template<class Curve, class Point>
void geom::tessellateCurve (const Curve &curve, double tol, std::vector< Point > *pPoints)
template<class CurveIter, class Point>
void geom::tessellateLoop (CurveIter begin, CurveIter end, double tol, std::vector< Point > *pPoints)
template<class Curves, class Point>
void geom::tessellateLoop (const Curves &curves, double tol, std::vector< Point > *pPoints)
template<class Curves>
void geom::reverseLoop (Curves &curves)
template<class CurveIter, class KnotIter>
void geom::createKnots (CurveIter begin, CurveIter end, KnotIter outIt)
template<class KnotIter>
int geom::getSpan (KnotIter begin, KnotIter end, double param)
template<class Arc, class P>
bool geom::projectPointToArc (const Arc &arc, const P &pt, double tol, P *pProjPt=0, double *pParam=0)


Detailed Description

Various useful operations on curves.
Generated on Tue Jan 29 21:37:57 2008 for VoluMill Universal Client by  doxygen 1.4.6