Functions | Variables

plane.cpp File Reference

#include "plane.h"
Include dependency graph for plane.cpp:

Go to the source code of this file.

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.

Variables

static const float s_eps = 1.0e-6

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.


Variable Documentation

const float s_eps = 1.0e-6 [static]

Definition at line 38 of file plane.cpp.