write error to cerr when the base of affine subspace is... not a base

This commit is contained in:
Samuel Hornus 2011-05-01 21:30:26 +00:00
parent 613d7f78e6
commit 35c988118c
1 changed files with 2 additions and 2 deletions

View File

@ -384,10 +384,10 @@ struct Side_of_oriented_subsphereCd
M = typename LA::Matrix(d+1);
if( ! ori_.state().axes_found_ )
{
// the call to ori_(...) will compute a set of axes to complement our base.
Orientation o = ori_(first, last);
// FIXME: why these two lines below? I would remove them [sam]
if( COPLANAR == o )
return ON_ORIENTED_BOUNDARY;
std::cerr << "\nAffine base is flat (it should have positive orientation) !!";
CGAL_assertion( o == POSITIVE );
// Now we can setup the fixed part of the matrix:
int a(0);