2005-12-05 21:23:52 +05:00
|
|
|
// Copyright (C) 2005 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
|
|
|
|
//
|
2006-06-01 17:32:40 +06:00
|
|
|
-- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2004-12-17 16:18:33 +05:00
|
|
|
-- File: GEOMAlgo_Gluer.cdl
|
|
|
|
-- Created: Sat Dec 04 12:41:32 2004
|
|
|
|
-- Author: Peter KURNEV
|
|
|
|
-- <peter@PREFEX>
|
|
|
|
---Copyright: Matra Datavision 2004
|
|
|
|
|
|
|
|
|
|
|
|
class Gluer from GEOMAlgo
|
|
|
|
inherits ShapeAlgo from GEOMAlgo
|
|
|
|
|
|
|
|
---Purpose:
|
|
|
|
|
|
|
|
uses
|
|
|
|
ShapeEnum from TopAbs,
|
|
|
|
Shape from TopoDS,
|
|
|
|
Edge from TopoDS,
|
2005-01-20 11:24:17 +05:00
|
|
|
Face from TopoDS,
|
|
|
|
Vertex from TopoDS,
|
|
|
|
ListOfShape from TopTools,
|
2004-12-17 16:18:33 +05:00
|
|
|
DataMapOfShapeShape from TopTools,
|
|
|
|
DataMapOfShapeListOfShape from TopTools,
|
|
|
|
Context from IntTools,
|
2005-03-23 12:27:20 +05:00
|
|
|
PassKeyShape from GEOMAlgo
|
2005-01-20 11:24:17 +05:00
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
--raises
|
|
|
|
|
|
|
|
is
|
|
|
|
Create
|
|
|
|
returns Gluer from GEOMAlgo;
|
|
|
|
---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Gluer();"
|
|
|
|
|
|
|
|
SetCheckGeometry (me:out;
|
|
|
|
aFlag:Boolean from Standard);
|
|
|
|
|
|
|
|
CheckGeometry (me)
|
|
|
|
returns Boolean from Standard;
|
|
|
|
|
|
|
|
Perform(me:out)
|
2005-01-20 11:24:17 +05:00
|
|
|
is redefined;
|
|
|
|
|
|
|
|
AloneShapes(me)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
2005-01-27 20:22:36 +05:00
|
|
|
--modified by NIZNHY-PKV Fri Jan 21 14:16:58 2005f-
|
|
|
|
Modified(me:out;
|
|
|
|
S : Shape from TopoDS)
|
|
|
|
returns ListOfShape from TopTools;
|
|
|
|
---C++: return const &
|
|
|
|
|
|
|
|
Generated(me:out;
|
|
|
|
S : Shape from TopoDS)
|
|
|
|
returns ListOfShape from TopTools;
|
|
|
|
---C++: return const &
|
|
|
|
|
|
|
|
IsDeleted (me:out;
|
|
|
|
S : Shape from TopoDS)
|
|
|
|
returns Boolean from Standard;
|
|
|
|
--modified by NIZNHY-PKV Fri Jan 21 14:17:04 2005t
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
CheckData(me:out)
|
|
|
|
is redefined protected;
|
|
|
|
|
|
|
|
CheckResult (me:out)
|
|
|
|
is redefined protected;
|
|
|
|
|
|
|
|
MakeVertices(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeEdges(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeFaces(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeShapes(me:out;
|
|
|
|
aType:ShapeEnum from TopAbs)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeShells(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeSolids(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
InnerTolerance(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
EdgePassKey(me:out;
|
|
|
|
aE:Edge from TopoDS;
|
2005-03-23 12:27:20 +05:00
|
|
|
aPK:out PassKeyShape from GEOMAlgo)
|
2004-12-17 16:18:33 +05:00
|
|
|
is protected;
|
|
|
|
|
|
|
|
FacePassKey(me:out;
|
|
|
|
aF:Face from TopoDS;
|
2005-03-23 12:27:20 +05:00
|
|
|
aPK:out PassKeyShape from GEOMAlgo)
|
2004-12-17 16:18:33 +05:00
|
|
|
is protected;
|
|
|
|
|
2005-01-20 11:24:17 +05:00
|
|
|
MakeVertex(me:out;
|
|
|
|
aLV : ListOfShape from TopTools;
|
|
|
|
aNewV: out Vertex from TopoDS)
|
|
|
|
is protected;
|
2004-12-17 16:18:33 +05:00
|
|
|
MakeEdge(me:out;
|
|
|
|
aEdge : Edge from TopoDS;
|
|
|
|
aNewEdge: out Edge from TopoDS)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MakeFace(me:out;
|
|
|
|
aFace : Face from TopoDS;
|
|
|
|
aNewEdge: out Face from TopoDS)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
IsToReverse(me:out;
|
|
|
|
aFR : Face from TopoDS;
|
|
|
|
aF : Face from TopoDS)
|
|
|
|
returns Boolean from Standard
|
2005-01-27 20:22:36 +05:00
|
|
|
is protected;
|
|
|
|
|
|
|
|
HasNewSubShape(me;
|
|
|
|
aS : Shape from TopoDS)
|
|
|
|
returns Boolean from Standard
|
2004-12-17 16:18:33 +05:00
|
|
|
is protected;
|
|
|
|
--
|
|
|
|
Images(me)
|
|
|
|
returns DataMapOfShapeListOfShape from TopTools;
|
|
|
|
---C++:return const &
|
|
|
|
|
|
|
|
Origins(me)
|
|
|
|
returns DataMapOfShapeShape from TopTools;
|
|
|
|
---C++:return const &
|
|
|
|
|
|
|
|
fields
|
2005-01-20 11:24:17 +05:00
|
|
|
myCheckGeometry : Boolean from Standard is protected;
|
|
|
|
myTol : Real from Standard is protected;
|
|
|
|
myImages : DataMapOfShapeListOfShape from TopTools is protected;
|
|
|
|
myOrigins : DataMapOfShapeShape from TopTools is protected;
|
|
|
|
myNbAlone : Integer from Standard is protected;
|
2005-01-27 20:22:36 +05:00
|
|
|
----
|
|
|
|
myGenerated : ListOfShape from TopTools is protected;
|
|
|
|
----
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
end Gluer;
|