//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
#include <GeomliteTest.hxx>
#include <DrawTrSurf.hxx>
#include <Draw.hxx>
//#ifdef WNT
#include <stdio.h>
-#ifdef WNT
+#ifdef _WIN32
//#define strcasecmp strcmp Already defined
Standard_IMPORT Draw_Viewer dout;
#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
BSpline = Standard_True;
}
- Standard_Integer Index;
- if ( !strcasecmp(a[0],"remrowpole")) {
- if (BSpline)
- Index = GBs->UDegree();
- else
- Index = GBz->UDegree();
- }
- else if ( !strcasecmp(a[0],"remcolpole")) {
- if (BSpline)
- Index = GBs->VDegree();
- else
- Index = GBz->VDegree();
- }
-
if ( !strcasecmp(a[0],"remrowpole")) {
if ( BSpline) {
di << " Error : Cannot remove a polerow on a BSplineSurface " << "\n";