Easy3D 2.6.1
|
OrientedLine implements plucker coordinates, which enables oriented lines to be compared. More...
#include <easy3d/core/oriented_line.h>
Public Types | |
typedef Vec< 3, FT > | Point |
The type of the point. | |
Public Member Functions | |
GenericOrientedLine (const Point &p, const Point &q) | |
Constructs a line from two points p and q . | |
Static Public Member Functions | |
static Sign | side (const GenericOrientedLine< FT > &a, const GenericOrientedLine< FT > &b) |
OrientedLine implements plucker coordinates, which enables oriented lines to be compared.
The comparison, implemented by the side() function, is a predicate similar to the right hand rule. For instance, this class is used for the line-polygon intersection test. (See D.M.Y. Sommerville, Analytical Geometry of Three Dimensions. Cambridge University Press, 1959).
|
inlinestatic |
"right hand rule" like predicate.