From 8608b2536e8df58cd749aae60a105ac17cc50397 Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 14 Nov 2005 12:43:52 +0000 Subject: [PATCH] PAL7663: Partition Algorithm failed. Fix done by PKV. --- src/NMTDS/NMTDS_ShapesDataStructure.cdl | 4 +++- src/NMTDS/NMTDS_ShapesDataStructure.cxx | 14 ++++++++++++- src/NMTDS/NMTDS_ShapesDataStructure.hxx | 28 ++++++++++++++++--------- 3 files changed, 34 insertions(+), 12 deletions(-) diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.cdl b/src/NMTDS/NMTDS_ShapesDataStructure.cdl index 23391971c..fd5999fa7 100644 --- a/src/NMTDS/NMTDS_ShapesDataStructure.cdl +++ b/src/NMTDS/NMTDS_ShapesDataStructure.cdl @@ -19,7 +19,9 @@ uses is Create returns ShapesDataStructure from NMTDS; - + ---C++: alias "Standard_EXPORT virtual ~NMTDS_ShapesDataStructure();" +--modified by NIZNHY-PKV Wed Feb 2 11:44:38 2005ft + SetCompositeShape(me:out; aS:Shape from TopoDS); diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.cxx b/src/NMTDS/NMTDS_ShapesDataStructure.cxx index 6388a1655..e0e06fff3 100644 --- a/src/NMTDS/NMTDS_ShapesDataStructure.cxx +++ b/src/NMTDS/NMTDS_ShapesDataStructure.cxx @@ -20,7 +20,19 @@ NMTDS_ShapesDataStructure::NMTDS_ShapesDataStructure() : BooleanOperations_ShapesDataStructure() -{} +{ + //printf(" NMTDS_ShapesDataStructure CREATE:%x\n", (int)this); +} +//modified by NIZNHY-PKV Wed Feb 2 11:45:04 2005f +//=========================================================================== +//function : ~ +//purpose : +//=========================================================================== + NMTDS_ShapesDataStructure::~NMTDS_ShapesDataStructure() +{ + //printf(" NMTDS_ShapesDataStructure DELETE:%x\n", (int)this); +} +//modified by NIZNHY-PKV Wed Feb 2 11:45:06 2005t //=========================================================================== //function : SetCompositeShape //purpose : diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.hxx b/src/NMTDS/NMTDS_ShapesDataStructure.hxx index 167ccc337..3eab46368 100644 --- a/src/NMTDS/NMTDS_ShapesDataStructure.hxx +++ b/src/NMTDS/NMTDS_ShapesDataStructure.hxx @@ -1,16 +1,23 @@ // File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by +// +// Copyright (C) 1991 - 2000 by +// Matra Datavision SA. All rights reserved. // -// MATRA DATAVISION, FRANCE +// Copyright (C) 2001 - 2004 by +// Open CASCADE SA. All rights reserved. +// +// This file is part of the Open CASCADE Technology software. +// +// This software may be distributed and/or modified under the terms and +// conditions of the Open CASCADE Public License as defined by Open CASCADE SA +// and appearing in the file LICENSE included in the packaging of this file. // -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// This software is distributed on an "AS IS" basis, without warranty of any +// kind, and Open CASCADE SA hereby disclaims all such warranties, +// including without limitation, any warranties of merchantability, fitness +// for a particular purpose or non-infringement. Please see the License for +// the specific terms and conditions governing rights and limitations under the +// License. #ifndef _NMTDS_ShapesDataStructure_HeaderFile #define _NMTDS_ShapesDataStructure_HeaderFile @@ -60,6 +67,7 @@ public: // Methods PUBLIC // Standard_EXPORT NMTDS_ShapesDataStructure(); +Standard_EXPORT virtual ~NMTDS_ShapesDataStructure(); Standard_EXPORT void SetCompositeShape(const TopoDS_Shape& aS) ; Standard_EXPORT void Init() ; Standard_EXPORT const NMTDS_CArray1OfIndexRange& Ranges() const;