Salome HOME
Preparation of intermediate revision
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeInfo.cxx
index c126062361408545356a6420e5e5e8488581819d..afcd3b550b4344479c45f6f267d789683bd23a96 100644 (file)
@@ -1,3 +1,24 @@
+//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  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>
 
 
@@ -784,7 +805,7 @@ void DumpPosition(const gp_Ax3& aAx3)
 //=======================================================================
 void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB)
 {
-  char *pStr[]={
+  const char *pStr[]={
     "KB_UNKNOWN", 
     "KB_TRIMMED", 
     "KB_INFINITE"
@@ -801,7 +822,7 @@ void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB)
 //=======================================================================
 void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC)
 {
-  char *pStr[]={
+  const char *pStr[]={
     "KC_UNKNOWN", 
     "KC_CLOSED", 
     "KC_NOTCLOSED"
@@ -818,7 +839,7 @@ void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC)
 //=======================================================================
 void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS)
 {
-  char *pStr[]={
+  const char *pStr[]={
     "KS_UNKNOWN", 
     "KS_SPHERE",
     "KS_CYLINDER",
@@ -842,7 +863,7 @@ void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS)
 //=======================================================================
 void DumpKindOfName(const GEOMAlgo_KindOfName aKS)
 {
-  char *pStr[]={
+  const char *pStr[]={
     "KN_UNKNOWN", 
     "KN_SPHERE",
     "KN_CYLINDER",