Added GetBBox in Point3 (declaration) the body of the function is in box3.h

This commit is contained in:
Federico Ponchio 2006-11-13 13:03:45 +00:00
parent 613dcafe3b
commit 716d0b39f2
2 changed files with 12 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.13 2006/09/28 13:37:13 m_di_benedetto
Added "const" to Collide()
Revision 1.12 2006/07/06 12:42:10 ganovelli Revision 1.12 2006/07/06 12:42:10 ganovelli
tolto il tipo enumerato axis tolto il tipo enumerato axis
@ -349,6 +352,9 @@ public:
} }
}; // end class definition }; // end class definition
template <class T> Box3<T> Point3<T>::GetBBox(Box3<T> &bb) const {
bb.Set( *this );
}

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.25 2006/10/13 12:59:24 cignoni
Added **explicit** constructor from three coords of a different scalartype
Revision 1.24 2006/09/28 13:37:35 m_di_benedetto Revision 1.24 2006/09/28 13:37:35 m_di_benedetto
added non const * V() added non const * V()
@ -100,6 +103,7 @@ namespace vcg {
The class is templated over the ScalarType class that is used to represent coordinates. All the usual The class is templated over the ScalarType class that is used to represent coordinates. All the usual
operator overloading (* + - ...) is present. operator overloading (* + - ...) is present.
*/ */
template <class T> class Box3;
template <class P3ScalarType> class Point3 template <class P3ScalarType> class Point3
{ {
@ -337,6 +341,7 @@ public:
_v[2]= ro*cos(phi); _v[2]= ro*cos(phi);
} }
Box3<P3ScalarType> GetBBox(Box3<P3ScalarType> &bb) const;
//@} //@}
//@{ //@{