Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
TopoDS Class Reference

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.

#include <TopoDS.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC
const TopoDS_Vertex & 
Vertex (const TopoDS_Shape &S)
 Basic tool to access the data structure.
//! Casts shape S to the more specialized return type, Vertex.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

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.
Exceptions
Standard_TypeMismatch if S cannot be cast to this return type.

static TopoDS_Compound & Compound (TopoDS_Shape &)

Member Function Documentation

static TopoDS_Compound& TopoDS::Compound ( TopoDS_Shape &  ) [inline, static]
static TopoDS_CompSolid& TopoDS::CompSolid ( TopoDS_Shape &  ) [inline, static]
static const TopoDS_Edge& TopoDS::Edge ( const TopoDS_Shape &  S) [static]
static TopoDS_Edge& TopoDS::Edge ( TopoDS_Shape &  ) [inline, static]
static const TopoDS_Face& TopoDS::Face ( const TopoDS_Shape &  S) [static]
static TopoDS_Face& TopoDS::Face ( TopoDS_Shape &  ) [inline, static]
static const TopoDS_Shell& TopoDS::Shell ( const TopoDS_Shape &  S) [static]
static TopoDS_Shell& TopoDS::Shell ( TopoDS_Shape &  ) [inline, static]
static const TopoDS_Solid& TopoDS::Solid ( const TopoDS_Shape &  S) [static]
static TopoDS_Solid& TopoDS::Solid ( TopoDS_Shape &  ) [inline, static]
static TopoDS_Vertex& TopoDS::Vertex ( TopoDS_Shape &  ) [inline, static]
static const TopoDS_Wire& TopoDS::Wire ( const TopoDS_Shape &  S) [static]
static TopoDS_Wire& TopoDS::Wire ( TopoDS_Shape &  ) [inline, static]

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