Open CASCADE Technology
7.4.0
|
This package gives resources for Topology oriented applications such as : Topological Data Structure, Topological Algorithms. More...
#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 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 : More... | |
static 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: More... | |
static 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. More... | |
static Standard_OStream & | Print (const TopAbs_ShapeEnum theShapeType, Standard_OStream &theStream) |
Prints the name of Shape type as a String on the Stream. More... | |
static Standard_OStream & | Print (const TopAbs_Orientation theOrientation, Standard_OStream &theStream) |
Prints the name of the Orientation as a String on the Stream. More... | |
static 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>. More... | |
static Standard_CString | ShapeTypeToString (TopAbs_ShapeEnum theType) |
Returns the string name for a given shape type. More... | |
static TopAbs_ShapeEnum | ShapeTypeFromString (Standard_CString theTypeString) |
Returns the shape type from the given string identifier (using case-insensitive comparison). More... | |
static Standard_Boolean | ShapeTypeFromString (Standard_CString theTypeString, TopAbs_ShapeEnum &theType) |
Determines the shape type from the given string identifier (using case-insensitive comparison). More... | |
static Standard_CString | ShapeOrientationToString (TopAbs_Orientation theOrientation) |
Returns the string name for a given shape orientation. More... | |
static TopAbs_Orientation | ShapeOrientationFromString (const Standard_CString theOrientationString) |
Returns the shape orientation from the given string identifier (using case-insensitive comparison). More... | |
static Standard_Boolean | ShapeOrientationFromString (const Standard_CString theOrientationString, TopAbs_Orientation &theOrientation) |
Determines the shape orientation from the given string identifier (using case-insensitive comparison). More... | |
This package gives resources for Topology oriented applications such as : Topological Data Structure, Topological Algorithms.
It contains :
|
static |
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 |
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 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.
|
inlinestatic |
Prints the name of Shape type as a String on the Stream.
|
inlinestatic |
Prints the name of the Orientation as a String on the Stream.
|
static |
Prints the name of the State <St> as a String on the Stream <S> and returns <S>.
|
static |
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.
|
inlinestatic |
Returns the shape orientation from the given string identifier (using case-insensitive comparison).
theOrientationString | string identifier |
|
static |
Determines the shape orientation from the given string identifier (using case-insensitive comparison).
theOrientationString | string identifier |
theOrientation | detected shape orientation |
|
static |
Returns the string name for a given shape orientation.
theOrientation | shape orientation |
|
inlinestatic |
Returns the shape type from the given string identifier (using case-insensitive comparison).
theTypeString | string identifier |
|
static |
Determines the shape type from the given string identifier (using case-insensitive comparison).
theTypeString | string identifier |
theType | detected shape type |
|
static |
Returns the string name for a given shape type.
theType | shape type |