1 // File: ShHealOper_SplitCurve2d.cxx
2 // Created: 05.05.04 13:03:10
3 // Author: Galina KULIKOVA
4 // < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
5 // Copyright (C) 2003 CEA
7 // This library is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU Lesser General Public
9 // License as published by the Free Software Foundation; either
10 // version 2.1 of the License.
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include <ShHealOper_SplitCurve2d.hxx>
25 #include <ShapeExtend_Status.hxx>
26 #include <ShapeExtend.hxx>
28 IMPLEMENT_STANDARD_HANDLE (ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d)
29 IMPLEMENT_STANDARD_RTTIEXT(ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d)
31 //=======================================================================
34 //=======================================================================
36 void ShHealOper_SplitCurve2d::Compute()
39 myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL);
41 SetSplitValues(myValues);
42 myStatus = ShapeExtend::EncodeStatus (ShapeExtend_DONE1);