diff --git a/vcg/space/intersection3.h b/vcg/space/intersection3.h index d676777e..52f71a9c 100644 --- a/vcg/space/intersection3.h +++ b/vcg/space/intersection3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2005/03/15 11:22:39 ganovelli +added intersection between tow planes (porting from old vcg lib) + Revision 1.13 2005/01/26 10:03:08 spinelli aggiunta intersect ray-box @@ -94,7 +97,7 @@ namespace vcg { */ /// interseciton between sphere and line template - inline bool Intersection( const Sphere3 & sp, const Line3 & li, Point3 & p0,Point3 & p1 ){ + inline bool IntersectionLineSphere( const Sphere3 & sp, const Line3 & li, Point3 & p0,Point3 & p1 ){ // Per prima cosa si sposta il sistema di riferimento // fino a portare il centro della sfera nell'origine @@ -123,7 +126,7 @@ namespace vcg { /// intersection between line and plane template - inline bool Intersection( const Plane3 & pl, const Line3 & li, Point3 & po){ + inline bool IntersectionLinePlane( const Plane3 & pl, const Line3 & li, Point3 & po){ const T epsilon = T(1e-8); T k = pl.Direction() * li.Direction(); // Compute 'k' factor