-- File: BOP_CompositeClassifier.cdl -- Created: Fri Jan 5 15:16:22 1996 -- Author: Jean Yves LEBEY -- ---Copyright: Matra Datavision 1996 deferred class CompositeClassifier from BOP inherits LoopClassifier from BOP ---Purpose: -- The Root class for algorithms -- to classify composite Loops, i.e, Loops that -- can be either a Shape, or a block of Elements. -- uses ShapeEnum from TopAbs, Shape from TopoDS, State from TopAbs, Loop from BOP, BlockBuilder from BOP is Initialize(BB : BlockBuilder from BOP); ---Purpose: --- Initializing the object with BlockBuilder; --- Compare(me :out; L1 : Loop from BOP; L2 : Loop from BOP) returns State from TopAbs is redefined; ---Purpose: --- Classify loop with --- CompareShapes(me :out; B1 : Shape from TopoDS; B2 : Shape from TopoDS) ---Purpose: --- Classify shape with shape --- returns State from TopAbs is deferred; CompareElementToShape(me :out; E : Shape from TopoDS; B : Shape from TopoDS) returns State from TopAbs is deferred; ---Purpose: --- Classify element with shape --- ResetShape(me :out; B : Shape from TopoDS) is deferred; ---Purpose: --- Prepare classification involving shape --- Calls ResetElement on first element of --- ResetElement(me :out; E : Shape from TopoDS) is deferred; ---Purpose: --- Prepare classification involving element . --- CompareElement(me :out; E : Shape from TopoDS) is deferred; ---Purpose: --- Add element in the set of elements used in classification. --- State(me :out) returns State from TopAbs is deferred; ---Purpose: --- Returns state of classification of 2D point, defined by --- ResetElement, with the current set of elements, --- defined by Compare. --- fields myBlockBuilder : Address is protected; end CompositeClassifier;