OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBO
BOPTools


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BOPTools_ShapeShapeInterference ()
 Empty constructor
.
Standard_EXPORT BOPTools_ShapeShapeInterference (const Standard_Integer anIndex1, const Standard_Integer anIndex2)
 Constructor
.
Standard_EXPORT void SetIndex1 (const Standard_Integer anIndex1)
 Modifier
Sets DS-index for the first shape from the couple
.
Standard_EXPORT void SetIndex2 (const Standard_Integer anIndex2)
 Modifier
Sets DS-index for the second shape from the couple
.
Standard_EXPORT void SetNewShape (const Standard_Integer anIndex)
 Modifier
Sets DS-index for the new shape
.
Standard_EXPORT Standard_Integer Index1 () const
 Selector
.
Standard_EXPORT Standard_Integer Index2 () const
 Selector
.
Standard_EXPORT void Indices (Standard_Integer &anIndex1, Standard_Integer &anIndex2) const
 Selector
.
Standard_EXPORT 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_EXPORT Standard_Integer NewShape () const
 Selector
.

Private Attributes

Standard_Integer myIndex1
Standard_Integer myIndex2
Standard_Integer myNewShape

Constructor & Destructor Documentation

Standard_EXPORT BOPTools_ShapeShapeInterference::BOPTools_ShapeShapeInterference  ) 
 

Standard_EXPORT BOPTools_ShapeShapeInterference::BOPTools_ShapeShapeInterference const Standard_Integer  anIndex1,
const Standard_Integer  anIndex2
 


Member Function Documentation

Standard_EXPORT Standard_Integer BOPTools_ShapeShapeInterference::Index1  )  const
 

Standard_EXPORT Standard_Integer BOPTools_ShapeShapeInterference::Index2  )  const
 

Standard_EXPORT void BOPTools_ShapeShapeInterference::Indices Standard_Integer &  anIndex1,
Standard_Integer &  anIndex2
const
 

Standard_EXPORT Standard_Integer BOPTools_ShapeShapeInterference::NewShape  )  const
 

void BOPTools_ShapeShapeInterference::operator delete void *  anAddress  )  [inline]
 

Reimplemented in BOPTools_EEInterference, BOPTools_ESInterference, BOPTools_SSInterference, BOPTools_VEInterference, BOPTools_VSInterference, and BOPTools_VVInterference.

void* BOPTools_ShapeShapeInterference::operator new size_t  size  )  [inline]
 

Reimplemented in BOPTools_EEInterference, BOPTools_ESInterference, BOPTools_SSInterference, BOPTools_VEInterference, BOPTools_VSInterference, and BOPTools_VVInterference.

void* BOPTools_ShapeShapeInterference::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented in BOPTools_EEInterference, BOPTools_ESInterference, BOPTools_SSInterference, BOPTools_VEInterference, BOPTools_VSInterference, and BOPTools_VVInterference.

Standard_EXPORT Standard_Integer BOPTools_ShapeShapeInterference::OppositeIndex const Standard_Integer  anIndex  )  const
 

Standard_EXPORT void BOPTools_ShapeShapeInterference::SetIndex1 const Standard_Integer  anIndex1  ) 
 

Standard_EXPORT void BOPTools_ShapeShapeInterference::SetIndex2 const Standard_Integer  anIndex2  ) 
 

Standard_EXPORT void BOPTools_ShapeShapeInterference::SetNewShape const Standard_Integer  anIndex  ) 
 


Field Documentation

Standard_Integer BOPTools_ShapeShapeInterference::myIndex1 [private]
 

Standard_Integer BOPTools_ShapeShapeInterference::myIndex2 [private]
 

Standard_Integer BOPTools_ShapeShapeInterference::myNewShape [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:47 2008 for OpenCASCADE by  doxygen 1.4.1