mt
 All Classes Files Functions Enumerations Groups Pages
Classes | Functions
line3.h File Reference
#include <iostream>
#include <mt/direction_type.h>
#include <mt/exception.h>
#include <mt/point3.h>
#include <mt/scalar.h>
#include <mt/unit3.h>
#include <mt/vector3.h>

Go to the source code of this file.

Classes

class  mt::Line3
 Three-dimensional line class. More...
class  mt::Line3::BadLine
 Ill-defined line exception. More...

Functions

Line3 mt::operator+ (const Line3 &L)
Line3 mt::operator- (const Line3 &L)
std::ostream & mt::operator<< (std::ostream &os, const Line3 &L)
Point3 mt::project (const Point3 &p, const Line3 &L)
 Projects point p on line L.
Scalar mt::distance (const Point3 &p, const Line3 &L)
 Distance from point p to line L.
Scalar mt::distance (const Line3 &L, const Point3 &p)
 Distance from point p to line L.

Detailed Description