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

Root class for storing an Interference
between a couple BRep shapes

#include <BOPTools_ShapeShapeInterference.hxx>

Inheritance diagram for BOPTools_ShapeShapeInterference:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BOPTools_ShapeShapeInterference ()
 Empty constructor


 BOPTools_ShapeShapeInterference (const Standard_Integer anIndex1, const Standard_Integer anIndex2)
 Constructor


void SetIndex1 (const Standard_Integer anIndex1)
 Modifier
Sets DS-index for the first shape from the couple


void SetIndex2 (const Standard_Integer anIndex2)
 Modifier
Sets DS-index for the second shape from the couple


void SetNewShape (const Standard_Integer anIndex)
 Modifier
Sets DS-index for the new shape


Standard_Integer Index1 () const
 Selector


Standard_Integer Index2 () const
 Selector


void Indices (Standard_Integer &anIndex1, Standard_Integer &anIndex2) const
 Selector


Standard_Integer OppositeIndex (const Standard_Integer anIndex) const
 Selector
Gets the value of index
if anIndex==myIndex1 it returns myIndex2;
if anIndex==myIndex2 it returns myIndex1;
otherwise it returns 0;


Standard_Integer NewShape () const
 Selector



Constructor & Destructor Documentation


Member Function Documentation


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