Added GetBBox in Point3 (declaration) the body of the function is in box3.h
This commit is contained in:
parent
613dcafe3b
commit
716d0b39f2
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$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
|
||||
tolto il tipo enumerato axis
|
||||
|
||||
|
@ -349,6 +352,9 @@ public:
|
|||
}
|
||||
}; // end class definition
|
||||
|
||||
template <class T> Box3<T> Point3<T>::GetBBox(Box3<T> &bb) const {
|
||||
bb.Set( *this );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$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
|
||||
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
|
||||
operator overloading (* + - ...) is present.
|
||||
*/
|
||||
template <class T> class Box3;
|
||||
|
||||
template <class P3ScalarType> class Point3
|
||||
{
|
||||
|
@ -336,7 +340,8 @@ public:
|
|||
_v[1]= ro*sin(theta)*sin(phi);
|
||||
_v[2]= ro*cos(phi);
|
||||
}
|
||||
|
||||
|
||||
Box3<P3ScalarType> GetBBox(Box3<P3ScalarType> &bb) const;
|
||||
//@}
|
||||
//@{
|
||||
|
||||
|
|
Loading…
Reference in New Issue