|
| const TopoDS_Vertex & | Vertex (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Vertex.
|
| |
| TopoDS_Vertex & | Vertex (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Vertex.
|
| |
| const TopoDS_Edge & | Edge (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Edge.
|
| |
| TopoDS_Edge & | Edge (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Edge.
|
| |
| const TopoDS_Wire & | Wire (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Wire.
|
| |
| TopoDS_Wire & | Wire (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Wire.
|
| |
| const TopoDS_Face & | Face (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Face.
|
| |
| TopoDS_Face & | Face (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Face.
|
| |
| const TopoDS_Shell & | Shell (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Shell.
|
| |
| TopoDS_Shell & | Shell (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Shell.
|
| |
| const TopoDS_Solid & | Solid (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Solid.
|
| |
| TopoDS_Solid & | Solid (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Solid.
|
| |
| const TopoDS_CompSolid & | CompSolid (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, CompSolid.
|
| |
| TopoDS_CompSolid & | CompSolid (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, CompSolid.
|
| |
| const TopoDS_Compound & | Compound (const TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Compound.
|
| |
| TopoDS_Compound & | Compound (TopoDS_Shape &theShape) |
| | Casts shape theShape to the more specialized return type, Compound.
|
| |
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:
Correct:
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
Describes a shape which.
Definition TopoDS_Shape.hxx:41
Describes a vertex which.
Definition TopoDS_Vertex.hxx:31
const TopoDS_Vertex & Vertex(const TopoDS_Shape &theShape)
Casts shape theShape to the more specialized return type, Vertex.
Definition TopoDS.hxx:70
Incorrect (will throw a Standard_TypeMismatch exception):
Describes a face which.
Definition TopoDS_Face.hxx:30
const TopoDS_Edge & Edge(const TopoDS_Shape &theShape)
Casts shape theShape to the more specialized return type, Edge.
Definition TopoDS.hxx:92