|
latest version v1.9 - last update 24 Nov 2005 |
|
Collaboration diagram for Simple geometry classes and functions:
|
Modules | |
| Geometry Data Structures | |
Classes | |
| class | lti::flipImage |
| Flips an image horizontally or vertically. More... | |
| class | lti::geometricTransform |
| This functor implements an generic geometric transform based on a homogeneous matrix, which is able to represent rotations, translations scalings and all other possibilites of homographies. More... | |
| class | lti::rotation |
| Rotation implements a rotation functor. More... | |
| class | lti::scaling |
| Scaling implements a functor to rescale an image using a real valued scaling factor. More... | |
Functions | |
| template<class T> | |
| bool | lti::intersection (const tpoint< T > &p1, const tpoint< T > &p2, const tpoint< T > &p3, const tpoint< T > &p4, tpoint< T > &p) |
| template<class T> | |
| bool | lti::intersection (const tpoint< T > &p1, const tpoint< T > &p2, const tpoint< T > &p3, const tpoint< T > &p4) |
| template<class T> | |
| T | lti::minDistanceSqr (const tpoint< T > &p1, const tpoint< T > &p2, const tpoint< T > &p3, tpoint< T > &p) |
| template<class T> | |
| T | lti::minDistanceSqr (const tpoint< T > &p1, const tpoint< T > &p2, const tpoint< T > &p3) |
| template<class T> | |
| T | lti::minDistanceSqr (const tpoint< T > &p1, const tpoint< T > &p2, const tpoint< T > &p3, const tpoint< T > &p4, tpoint< T > &pa, tpoint< T > &pb) |
| template<class T> | |
| int | lti::clockwiseTurn (const tpoint< T > &p0, const tpoint< T > &p1, const tpoint< T > &p2) |
|
||||||||||||||||||||
|
compute if the path that follows the points p0, p1 and p2 makes a clock-wise turn (+1) a counter-clock-wise turn (-1) or stays in a straight line (0).
|
|
||||||||||||||||||||||||
|
compute if the line between p1 and p2 intersects with the line between p3 and p4. If they intersect in exactly one point (normal case) the function returns true. If the lines are parallel or any of the lines have length 0 this function returns false.
|
|
||||||||||||||||||||||||||||
|
compute if the line between p1 and p2 intersects with the line between p3 and p4. If they intersect in exactly one point (normal case) the function returns true. If the lines are parallel or any of the lines have length 0 this function returns false.
|
|
||||||||||||||||||||||||||||||||
|
compute the square of the minimal distance between the line segment defined by the points p1 and p2 and the line segment defined by the points p3 and p4. The corresponding points with the minimal distance will be stored in pa (in p1-p2) and pb (in p3-p4).
|
|
||||||||||||||||||||
|
compute the square of the minimal distance between the line segment defined by the points p1 and p2 and the point p3. The point within the line with the minimal distance will be stored in p.
|
|
||||||||||||||||||||||||
|
compute the square of the minimal distance between the line segment defined by the points p1 and p2 and the point p3. The point within the line with the minimal distance will be stored in p.
|