Open CASCADE Technology 7.9.0
TopoDS.hxx File Reference

Namespaces

namespace  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_VertexTopoDS::Vertex (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Vertex.
 
TopoDS_VertexTopoDS::Vertex (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Vertex.
 
const TopoDS_EdgeTopoDS::Edge (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Edge.
 
TopoDS_EdgeTopoDS::Edge (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Edge.
 
const TopoDS_WireTopoDS::Wire (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Wire.
 
TopoDS_WireTopoDS::Wire (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Wire.
 
const TopoDS_FaceTopoDS::Face (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Face.
 
TopoDS_FaceTopoDS::Face (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Face.
 
const TopoDS_ShellTopoDS::Shell (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Shell.
 
TopoDS_ShellTopoDS::Shell (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Shell.
 
const TopoDS_SolidTopoDS::Solid (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Solid.
 
TopoDS_SolidTopoDS::Solid (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Solid.
 
const TopoDS_CompSolidTopoDS::CompSolid (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, CompSolid.
 
TopoDS_CompSolidTopoDS::CompSolid (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, CompSolid.
 
const TopoDS_CompoundTopoDS::Compound (const TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Compound.
 
TopoDS_CompoundTopoDS::Compound (TopoDS_Shape &theShape)
 Casts shape theShape to the more specialized return type, Compound.