Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BooleanOperations_AncestorsSeqAndSuccessorsSeq Class Reference

provide all the ancestors and successors of a --
given shape. Exemple : for an edge the ancestors
-- are the wires that hold it and the successors
are -- its vertices. As we don't know the number
of -- ancestors of a given shape we first put them
in a -- sequence of integers (our data structure
-- defining the shapes does not have back
pointers). Then we transfer these data in the
class AncestorsAndSuccessors.

#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC BooleanOperations_AncestorsSeqAndSuccessorsSeq ()
void Dump () const
 to display the fields.

Standard_Integer GetAncestor (const Standard_Integer AncestorIndex) const
Standard_Integer GetSuccessor (const Standard_Integer SuccessorIndex) const
TopAbs_Orientation GetOrientation (const Standard_Integer OrientationIndex) const
Standard_Integer NumberOfAncestors () const
Standard_Integer NumberOfSuccessors () const
void SetNewAncestor (const Standard_Integer AncestorNumber)
 appends AncestorNumber in the sequence.

void SetNewSuccessor (const Standard_Integer SuccessorNumber)
 appends SuccessorNumber in the array refering to <mySuccessorsInserted>.

void SetNewOrientation (const TopAbs_Orientation theOrientation)
 appends SuccessorNumber in the array refering to <mySuccessorsInserted>.


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: