Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
TopAbs Class Reference

#include <TopAbs.hxx>

Static Public Member Functions

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


\ Or2 FORWARD REVERSED INTERNAL EXTERNAL
Or1 ----------------------------------—
FORWARD | FORWARD REVERSED INTERNAL EXTERNAL
|
REVERSED | REVERSED FORWARD INTERNAL EXTERNAL
|
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.
More...

 
static TopAbs_Orientation Reverse (const TopAbs_Orientation Or)
 
 xchanges the interior/exterior status of the two <br>

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.

More...

 
static TopAbs_Orientation Complement (const TopAbs_Orientation Or)
 
 Reverses the interior/exterior status of each side of <br>

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.

More...

 
static Standard_OStreamPrint (const TopAbs_ShapeEnum SE, Standard_OStream &S)
 
 Prints the name  of Shape  <SEq>  as  a String  on the <br>
     Stream <S> and returns <S>. <br>


More...

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


More...

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


More...

 

Member Function Documentation

static TopAbs_Orientation TopAbs::Complement ( const TopAbs_Orientation  Or)
static

 Reverses the interior/exterior status of each side of <br>

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 TopAbs_Orientation TopAbs::Compose ( const TopAbs_Orientation  Or1,
const TopAbs_Orientation  Or2 
)
static

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


\ Or2 FORWARD REVERSED INTERNAL EXTERNAL
Or1 ----------------------------------—
FORWARD | FORWARD REVERSED INTERNAL EXTERNAL
|
REVERSED | REVERSED FORWARD INTERNAL EXTERNAL
|
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_OStream& TopAbs::Print ( const TopAbs_ShapeEnum  SE,
Standard_OStream S 
)
static

 Prints the name  of Shape  <SEq>  as  a String  on the <br>
     Stream <S> and returns <S>. <br>


static Standard_OStream& TopAbs::Print ( const TopAbs_Orientation  Or,
Standard_OStream S 
)
static

 Prints the name of the Orientation <Or> as a String on <br>
     the Stream <S> and returns <S>. <br>


static Standard_OStream& TopAbs::Print ( const TopAbs_State  St,
Standard_OStream S 
)
static

 Prints the name of the State <St> as a String on <br>
     the Stream <S> and returns <S>. <br>


static TopAbs_Orientation TopAbs::Reverse ( const TopAbs_Orientation  Or)
static

 xchanges the interior/exterior status of the two <br>

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.


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