Computational geometry equations can be found in the FAQ section of comp.graphics.algorithms and are based on [Kirk, 1992], pages 199-202, and [O'Rourke, 1994], pages 249-51.
Definition in file _QGAR_point.TCC.
Go to the source code of this file.
Namespaces | |
| namespace | qgar |
Global geometrical functions which compute points | |
| template<class T> | |
| bool | qgar::qgCircleCenter (const GenPoint< T > &t, const GenPoint< T > &p, const GenPoint< T > &q, GenPoint< double > &aCenter) |
| Center of the circle passing through three given points. | |
| template<class T> | |
| bool | qgar::qgIntersect (const GenSegment< T > &ab, const GenSegment< T > &cd, GenPoint< double > &i, double anAngle=Math::epsilonRadian()) |
| Intersection of the lines supporting two given segments. | |
| template<class T> | |
| bool | qgar::qgIntersect (const GenQgarSegment< T > &aQSeg1, const GenQgarSegment< T > &aQSeg2, GenPoint< double > &aPt, double anAngle=Math::epsilonRadian()) |
| Intersection of the lines supporting two given Qgar segments. | |
| template<class T> | |
| GenPoint< double > | qgar::qgMiddle (const GenSegment< T > &aSeg) |
| Return the middle point of a segment. | |
| template<class T> | |
| GenPoint< double > | qgar::qgMiddle (const GenQgarSegment< T > &aQSeg) |
| Return the middle point of a Qgar segment. | |
| template<class T> | |
| GenPoint< double > | qgar::qgMiddle (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2) |
| Return the middle point of the segment joining two points. | |
| template<class T> | |
| GenPoint< double > | qgar::qgProjectPoint (const GenPoint< T > &aPt, const GenSegment< T > &aSeg) |
| Return the orthogonal projection of a point onto a segment. | |
| template<class T> | |
| void | qgar::qgProject (GenPoint< double > &aPt, const GenSegment< T > &aSeg) |
| Orthogonal projection of a point onto a segment. | |
| template<class T> | |
| GenPoint< double > | qgar::qgProjectPoint (const GenPoint< T > &aPt, const GenQgarSegment< T > &aQSeg) |
| Return the orthogonal projection of a point onto a Qgar segment. | |
| template<class T> | |
| void | qgar::qgProject (GenPoint< double > &aPt, const GenQgarSegment< T > &aQSeg) |
| Ortogonal projection of a point onto a Qgar segment. | |
Functions | |
| template<> | |
| bool | qgar::qgCircleCenter< double > (const GenPoint< double > &t, const GenPoint< double > &p, const GenPoint< double > &q, GenPoint< double > &aCenter) |
| template<> | |
| bool | qgar::qgIntersect< double > (const GenSegment< double > &ab, const GenSegment< double > &cd, GenPoint< double > &i, double anAngle) |
| template<> | |
| void | qgar::qgProject< double > (GenPoint< double > &aPt, const GenSegment< double > &aSeg) |