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

ModelingData
TKG2d
TopAbs


TopAbs Class Reference

#include <TopAbs.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT TopAbs_Orientation Compose (const TopAbs_Orientation Or1, const TopAbs_Orientation Or2)
 Compose the Orientation <or1> and <or2>. This
composition is not symmetric (if you switch <or1> and
<or2> the result is different). It assumes that <or1>
is the Orientation of a Shape S1 containing a Shape S2
of Orientation Or2. The result is the cumulated
orientation of S2 in S1. The composition law is :

\ Or2 FORWARD REVERSED INTERNAL EXTERNAL
Or1 -------------------------------------
FORWARD | FORWARD REVERSED INTERNAL EXTERNAL
|
REVERSED | REVERSED FORWARD EXTERNAL INTERNAL
|
INTERNAL | INTERNAL INTERNAL INTERNAL INTERNAL
|
EXTERNAL | EXTERNAL EXTERNAL EXTERNAL EXTERNAL
Note: The top corner in the table is the most important
for the purposes of Open CASCADE topology and shape sharing.
.
static Standard_EXPORT TopAbs_Orientation Reverse (const TopAbs_Orientation Or)
 xchanges the interior/exterior status of the two
sides. This is what happens when the sense of
direction is reversed. The following rules apply:

FORWARD REVERSED
REVERSED FORWARD
INTERNAL INTERNAL
EXTERNAL EXTERNAL

Reverse exchange the material sides.


static Standard_EXPORT TopAbs_Orientation Complement (const TopAbs_Orientation Or)
 Reverses the interior/exterior status of each side of
the object. So, to take the complement of an object
means to reverse the interior/exterior status of its
boundary, i.e. inside becomes outside.
The method returns the complementary orientation,
following the rules in the table below:
FORWARD REVERSED
REVERSED FORWARD
INTERNAL EXTERNAL
EXTERNAL INTERNAL

Complement complements the material side. Inside
becomes outside.

.
static Standard_EXPORT Standard_OStream & Print (const TopAbs_ShapeEnum SE, Standard_OStream &S)
 Prints the name of Shape <seq> as a String on the
Stream <s> and returns <s>.

.
static Standard_EXPORT Standard_OStream & Print (const TopAbs_Orientation Or, Standard_OStream &S)
 Prints the name of the Orientation <or> as a String on
the Stream <s> and returns <s>.

.
static Standard_EXPORT Standard_OStream & Print (const TopAbs_State St, Standard_OStream &S)
 Prints the name of the State <st> as a String on
the Stream <s> and returns <s>.

.


Member Function Documentation

static Standard_EXPORT TopAbs_Orientation TopAbs::Complement const TopAbs_Orientation  Or  )  [static]
 

static Standard_EXPORT TopAbs_Orientation TopAbs::Compose const TopAbs_Orientation  Or1,
const TopAbs_Orientation  Or2
[static]
 

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

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

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

static Standard_EXPORT Standard_OStream& TopAbs::Print const TopAbs_State  St,
Standard_OStream &  S
[static]
 

static Standard_EXPORT Standard_OStream& TopAbs::Print const TopAbs_Orientation  Or,
Standard_OStream &  S
[static]
 

static Standard_EXPORT Standard_OStream& TopAbs::Print const TopAbs_ShapeEnum  SE,
Standard_OStream &  S
[static]
 

static Standard_EXPORT TopAbs_Orientation TopAbs::Reverse const TopAbs_Orientation  Or  )  [static]
 


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