Common/Geom/SegAlg.h File Reference

#include <Geom/Points.h>
#include <Geom/PointAlg.h>

Go to the source code of this file.

Namespaces

namespace  geom

Functions

template<class P>
geom::projectPointToLine (const P &startPt, const P &endPt, const P &pt)
 Project the point pt to the infinite line through startPt and endPt.
template<class P>
bool geom::projectPointToSegment (const P &startPt, const P &endPt, const P &pt, double tol, P *pProjPt=0, double *pParam=0)
template<class P>
int geom::getOrientation (const P &p0, const P &p1, const P &pt, double tol)


Detailed Description

Useful utilities involving line segments
Generated on Tue Jan 29 21:37:57 2008 for VoluMill Universal Client by  doxygen 1.4.6