Classes

plane.h File Reference

#include "geometry_3d.h"
Include dependency graph for plane.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  plane_t
 basic 2D plane in 3D space. More...

Functions

bool getLineOfIntersection (const plane_t &A, const plane_t &B, point3d_t &p0, point3d_t &pt) throw ()
 given two planes (A and B) return the line of intersection between them.

Function Documentation

bool getLineOfIntersection ( const plane_t A,
const plane_t B,
point3d_t p0,
point3d_t pt 
) throw ()

given two planes (A and B) return the line of intersection between them.

Returns false if the planes are parallel (or coincident), in which case there is no single line of intersection. The intersection line is defined as p(t) = p0 + t pt.

Definition at line 56 of file plane.cpp.