- Fix return types for VC++.

This commit is contained in:
Sylvain Pion 2001-02-28 10:18:07 +00:00
parent 0c5f80fa8d
commit 4d7672b018
6 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,6 @@
2.21 (28 Feb 2001)
- More VC++ fixes.
2.20 (21 Feb 2001)
- Homogeneous_converter<>.

View File

@ -162,31 +162,31 @@ Iso_rectangleH2<R>::max() const
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::xmin() const
{ return FT( min().hx() ) / FT( min().hw() ); }
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::ymin() const
{ return FT( min().hy() ) / FT( min().hw() ); }
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::xmax() const
{ return FT( max().hx() ) / FT( max().hw() ); }
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::ymax() const
{ return FT( max().hy() ) / FT( max().hw() ); }
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::min_coord(int i) const
{
CGAL_kernel_precondition ( i == 0 || i == 1 );
@ -198,7 +198,7 @@ Iso_rectangleH2<R>::min_coord(int i) const
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::max_coord(int i) const
{
CGAL_kernel_precondition ( i == 0 || i == 1 );
@ -210,7 +210,7 @@ Iso_rectangleH2<R>::max_coord(int i) const
template < class R >
inline
typename R::FT
typename Iso_rectangleH2<R>::FT
Iso_rectangleH2<R>::area() const
{ return (xmax() - xmin()) * (ymax() - ymin()); }

View File

@ -538,7 +538,7 @@ operator-(const VectorH2<R>& u, const VectorH2<R>& v)
template <class R>
CGAL_KERNEL_INLINE
typename R::FT
typename VectorH2<R>::FT
operator*(const VectorH2<R>& u, const VectorH2<R>& v)
{
typedef typename R::RT RT;

View File

@ -1,3 +1,6 @@
2.21 (28 Feb 2001)
- Even more VC++ fixes.
2.20 (21 Feb 2001)
- VC++ fixes.

View File

@ -77,7 +77,7 @@ operator- ( const VectorH3<R> &, const VectorH3<R> & );
template <class R>
CGAL_KERNEL_INLINE
typename R::FT
typename VectorH3<R>::FT
operator* ( const VectorH3<R> &, const VectorH3<R> & );
template <class R>
@ -790,7 +790,7 @@ operator-(const VectorH3<R>& u, const VectorH3<R>& v)
template <class R>
CGAL_KERNEL_INLINE
typename R::FT
typename VectorH3<R>::FT
operator*(const VectorH3<R>& u, const VectorH3<R>& v)
{
typedef typename R::RT RT;

View File

@ -109,7 +109,7 @@ TriangleH3<R>::operator[](int i) const
template < class R >
CGAL_KERNEL_MEDIUM_INLINE
typename R::FT
typename TriangleH3<R>::FT
TriangleH3<R>::squared_area() const
{
VectorH3<R> v1 = vertex(1) - vertex(0);