bool CBasePoly::ValidTriangle( uint32 a, uint32 b, uint32 c ) { if( InsideDiagonal(a, c) ) { return Diagonalie( a, c ); } else return false; }
/*--------------------------------------------------------------------- Returns TRUE iff (a,b) is a proper internal diagonal. ---------------------------------------------------------------------*/ bool Diagonal( tVertex a, tVertex b ) { return InCone( a, b ) && InCone( b, a ) && Diagonalie( a, b ); }