Open CASCADE Technology  7.9.3
Namespaces | Functions
TopoDS.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_TypeMismatch.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <TopoDS_Shape.hxx>

Namespaces

 TopoDS
 Provides methods to cast objects of class TopoDS_Shape to more specialized sub-classes. The types are not verified before casting. If the type does not match, a Standard_TypeMismatch exception is thrown. Below are examples of correct and incorrect casts:
 

Functions

const TopoDS_Vertex & TopoDS::Vertex (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Vertex. More...
 
TopoDS_Vertex & TopoDS::Vertex (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Vertex. More...
 
const TopoDS_Edge & TopoDS::Edge (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Edge. More...
 
TopoDS_Edge & TopoDS::Edge (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Edge. More...
 
const TopoDS_Wire & TopoDS::Wire (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Wire. More...
 
TopoDS_Wire & TopoDS::Wire (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Wire. More...
 
const TopoDS_Face & TopoDS::Face (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Face. More...
 
TopoDS_Face & TopoDS::Face (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Face. More...
 
const TopoDS_Shell & TopoDS::Shell (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Shell. More...
 
TopoDS_Shell & TopoDS::Shell (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Shell. More...
 
const TopoDS_Solid & TopoDS::Solid (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Solid. More...
 
TopoDS_Solid & TopoDS::Solid (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Solid. More...
 
const TopoDS_CompSolid & TopoDS::CompSolid (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, CompSolid. More...
 
TopoDS_CompSolid & TopoDS::CompSolid (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, CompSolid. More...
 
const TopoDS_Compound & TopoDS::Compound (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Compound. More...
 
TopoDS_Compound & TopoDS::Compound (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Compound. More...