2005-03-23 07:27:20 +00:00
|
|
|
-- File: GEOMAlgo_FinderShapeOn1.cdl
|
|
|
|
-- Created: Fri Mar 4 10:26:54 2005
|
|
|
|
-- Author: Peter KURNEV
|
|
|
|
-- <pkv@irinox>
|
|
|
|
---Copyright: Matra Datavision 2005
|
|
|
|
|
|
|
|
|
|
|
|
class FinderShapeOn1 from GEOMAlgo
|
|
|
|
inherits ShapeAlgo from GEOMAlgo
|
|
|
|
|
|
|
|
---Purpose:
|
|
|
|
|
|
|
|
uses
|
|
|
|
Surface from Geom,
|
|
|
|
Surface from GeomAdaptor,
|
|
|
|
|
|
|
|
ShapeEnum from TopAbs,
|
2005-11-01 13:24:14 +00:00
|
|
|
State from TopAbs,
|
2005-03-23 07:27:20 +00:00
|
|
|
Face from TopoDS,
|
|
|
|
Edge from TopoDS,
|
|
|
|
ListOfShape from TopTools,
|
|
|
|
|
|
|
|
State from GEOMAlgo,
|
|
|
|
ListOfPnt from GEOMAlgo,
|
|
|
|
IndexedDataMapOfShapeState from GEOMAlgo
|
|
|
|
|
|
|
|
--raises
|
|
|
|
|
|
|
|
is
|
|
|
|
Create
|
|
|
|
returns FinderShapeOn1 from GEOMAlgo;
|
|
|
|
---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();"
|
|
|
|
|
|
|
|
SetSurface(me:out;
|
|
|
|
aS:Surface from Geom);
|
|
|
|
|
|
|
|
SetShapeType(me:out;
|
|
|
|
aST:ShapeEnum from TopAbs);
|
|
|
|
|
|
|
|
SetState(me:out;
|
|
|
|
aSF:State from GEOMAlgo);
|
|
|
|
|
|
|
|
SetNbPntsMin(me:out;
|
|
|
|
aNb:Integer from Standard);
|
|
|
|
|
|
|
|
NbPntsMin(me)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
|
|
|
SetNbPntsMax(me:out;
|
|
|
|
aNb:Integer from Standard);
|
|
|
|
|
|
|
|
NbPntsMax(me)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
|
|
|
Surface(me)
|
|
|
|
returns Surface from Geom;
|
|
|
|
---C++: return const &
|
|
|
|
|
|
|
|
ShapeType(me)
|
|
|
|
returns ShapeEnum from TopAbs;
|
|
|
|
|
|
|
|
State(me)
|
|
|
|
returns State from GEOMAlgo;
|
|
|
|
|
|
|
|
Perform(me:out)
|
|
|
|
is redefined;
|
|
|
|
|
|
|
|
Shapes(me)
|
|
|
|
returns ListOfShape from TopTools;
|
|
|
|
---C++: return const &
|
|
|
|
--
|
|
|
|
-- protected methods
|
|
|
|
--
|
|
|
|
CheckData(me:out)
|
|
|
|
is redefined protected;
|
|
|
|
|
|
|
|
ProcessVertices(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
ProcessEdges(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
ProcessFaces(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
ProcessSolids(me:out)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
InnerPoints(me:out;
|
|
|
|
aF :Face from TopoDS;
|
|
|
|
aLP:out ListOfPnt from GEOMAlgo)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
InnerPoints(me:out;
|
|
|
|
aE :Edge from TopoDS;
|
|
|
|
aLP:out ListOfPnt from GEOMAlgo)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
InnerPoints(me:out;
|
|
|
|
aE :Edge from TopoDS;
|
|
|
|
aNbPnts: Integer from Standard;
|
|
|
|
aLP:out ListOfPnt from GEOMAlgo)
|
|
|
|
is protected;
|
|
|
|
|
|
|
|
MSS (me)
|
|
|
|
returns IndexedDataMapOfShapeState from GEOMAlgo;
|
|
|
|
---C++:return const &
|
|
|
|
|
2005-11-01 13:24:14 +00:00
|
|
|
GetPointState(me:out; aP: Pnt from gp)
|
|
|
|
returns State from TopAbs is virtual protected;
|
|
|
|
|
2005-03-23 07:27:20 +00:00
|
|
|
fields
|
|
|
|
mySurface : Surface from Geom is protected;
|
|
|
|
myShapeType : ShapeEnum from TopAbs is protected;
|
|
|
|
myState : State from GEOMAlgo is protected;
|
|
|
|
myNbPntsMin : Integer from Standard is protected;
|
|
|
|
myNbPntsMax : Integer from Standard is protected;
|
|
|
|
--
|
|
|
|
myGAS : Surface from GeomAdaptor is protected;
|
|
|
|
myLS : ListOfShape from TopTools is protected;
|
|
|
|
--
|
|
|
|
myMSS : IndexedDataMapOfShapeState from GEOMAlgo is protected;
|
|
|
|
|
|
|
|
end FinderShapeOn1;
|