+// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
#include <GEOMAlgo_ShapeInfo.ixx>
//purpose :
//=======================================================================
void GEOMAlgo_ShapeInfo::SetNbSubShapes(const TopAbs_ShapeEnum aType,
- const Standard_Integer aNb)
+ const Standard_Integer aNb)
{
Standard_Integer iN;
printf(" Width : %.3lf\n", myWidth);
}
else if (aKN==GEOMAlgo_KN_TRIANGLE ||
- aKN==GEOMAlgo_KN_QUADRANGLE||
- aKN==GEOMAlgo_KN_POLYGON) {
+ aKN==GEOMAlgo_KN_QUADRANGLE||
+ aKN==GEOMAlgo_KN_POLYGON) {
DumpLocation (myLocation);
DumpPosition (myPosition);
}
//=======================================================================
void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB)
{
- char *pStr[]={
+ const char *pStr[]={
"KB_UNKNOWN",
"KB_TRIMMED",
"KB_INFINITE"
//=======================================================================
void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC)
{
- char *pStr[]={
+ const char *pStr[]={
"KC_UNKNOWN",
"KC_CLOSED",
"KC_NOTCLOSED"
//=======================================================================
void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS)
{
- char *pStr[]={
+ const char *pStr[]={
"KS_UNKNOWN",
"KS_SPHERE",
"KS_CYLINDER",
//=======================================================================
void DumpKindOfName(const GEOMAlgo_KindOfName aKS)
{
- char *pStr[]={
+ const char *pStr[]={
"KN_UNKNOWN",
"KN_SPHERE",
"KN_CYLINDER",