KrisLibrary  1.0.0
Classes | Namespaces | Functions
rayprimitives.h File Reference

Contains primitives that allow rays to be represented as points at infinity. More...

#include "primitives.h"

Go to the source code of this file.

Classes

struct  Geometry::PointRay2D
 A 2D point or infinite ray. Note: rays should be normalized unit vectors. More...
 
struct  Geometry::PointRay3D
 A 3D point or infinite ray. Note: rays should be normalized unit vectors. More...
 

Namespaces

 Geometry
 Contains all definitions in the Geometry package.
 

Functions

Real Geometry::HomogeneousCmp (Real a, bool awZero, Real b, bool bwZero)
 Comparison of 1D points in homogeneous coordinates. More...
 
Real Geometry::HomogeneousSub (Real a, bool awZero, Real b, bool bwZero)
 Subtraction of 1D points in homogeneous coordinates.
 
bool Geometry::LexicalRay2DOrder (const PointRay2D &p1, const PointRay2D &p2)
 
bool Geometry::LexicalRay3DOrder (const PointRay3D &p1, const PointRay3D &p2)
 
Real Geometry::OrientRay2D (const PointRay2D &p0, const PointRay2D &p1, const PointRay2D &p2)
 
ostream & std::operator<< (ostream &out, const Geometry::PointRay2D &pt)
 

Detailed Description

Contains primitives that allow rays to be represented as points at infinity.