# ifndef SR_PLANE_H # define SR_PLANE_H # include "sr_vec.h" class SrPlane { public : SrVec coords; float coordsw; static const SrPlane XY, //. (0,0,0) is returned if they are parallel. Use parallel() to test this before. If t is non null, t will contain the relative interpolation factor such that p=p1(1-t)+p2(t). */ SrVec intersect ( const SrVec& p1, const SrVec& p2, float *t=0 ) const; }; # endif // SR_PLANE_H