|
Open CASCADE Technology
6.7.1
|
Provides methods to cast objects of class
TopoDS_Shape to be onjects of more specialized
sub-classes. Types are verified, thus in the example
below, the first two blocks are correct but the third is
rejected by the compiler.
More...
#include <TopoDS.hxx>
Static Public Member Functions | |
| static const TopoDS_Vertex & | Vertex (const TopoDS_Shape &S) |
Basic tool to access the data structure. <br>//! Casts shape S to the more specialized return type, Vertex. <br> Exceptions | |
| static TopoDS_Vertex & | Vertex (TopoDS_Shape &) |
| static const TopoDS_Edge & | Edge (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Edge <br> Exceptions | |
| static TopoDS_Edge & | Edge (TopoDS_Shape &) |
| static const TopoDS_Wire & | Wire (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Wire. <br> Exceptions | |
| static TopoDS_Wire & | Wire (TopoDS_Shape &) |
| static const TopoDS_Face & | Face (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Face. <br> Exceptions | |
| static TopoDS_Face & | Face (TopoDS_Shape &) |
| static const TopoDS_Shell & | Shell (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Shell. <br> Exceptions | |
| static TopoDS_Shell & | Shell (TopoDS_Shape &) |
| static const TopoDS_Solid & | Solid (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Solid. <br> Exceptions | |
| static TopoDS_Solid & | Solid (TopoDS_Shape &) |
| static const TopoDS_CompSolid & | CompSolid (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, CompSolid. <br> Exceptions | |
| static TopoDS_CompSolid & | CompSolid (TopoDS_Shape &) |
| static const TopoDS_Compound & | Compound (const TopoDS_Shape &S) |
Casts shape S to the more specialized return type, Compound. <br> Exceptions | |
| static TopoDS_Compound & | Compound (TopoDS_Shape &) |
Provides methods to cast objects of class
TopoDS_Shape to be onjects of more specialized
sub-classes. Types are verified, thus in the example
below, the first two blocks are correct but the third is
rejected by the compiler.
|
static |
Casts shape S to the more specialized return type, Compound. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, CompSolid. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, Edge <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, Face. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, Shell. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, Solid. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Basic tool to access the data structure. <br>//! Casts shape S to the more specialized return type, Vertex. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
|
static |
Casts shape S to the more specialized return type, Wire. <br>
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.
|
inlinestatic |
1.8.5