X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPrimitivesAPI%2FPrimitivesAPI.i;h=055498b86944059fbf2166e293afefe89df9b343;hb=79099cce04bb946f2cd5152aa1f4df67eaebe181;hp=28b92e23556247fe7041ec08eacacc94152dab5a;hpb=fbb1d8a5ead180501e98acaf19acdda4880a2050;p=modules%2Fshaper.git diff --git a/src/PrimitivesAPI/PrimitivesAPI.i b/src/PrimitivesAPI/PrimitivesAPI.i index 28b92e235..055498b86 100644 --- a/src/PrimitivesAPI/PrimitivesAPI.i +++ b/src/PrimitivesAPI/PrimitivesAPI.i @@ -1,3 +1,23 @@ +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// 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, or (at your option) any later version. +// +// 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 +// + /* PrimitivesAPI.i */ %module PrimitivesAPI @@ -20,8 +40,14 @@ // shared pointers %shared_ptr(PrimitivesAPI_Box) - %shared_ptr(PrimitivesAPI_Cylinder) +%shared_ptr(PrimitivesAPI_Cone) +%shared_ptr(PrimitivesAPI_Cylinder) +%shared_ptr(PrimitivesAPI_Sphere) +%shared_ptr(PrimitivesAPI_Torus) // all supported interfaces %include "PrimitivesAPI_Box.h" +%include "PrimitivesAPI_Cone.h" %include "PrimitivesAPI_Cylinder.h" +%include "PrimitivesAPI_Sphere.h" +%include "PrimitivesAPI_Torus.h"