OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKBRep
TopoDS


TopoDS_TShape Class Reference

A TShape is a topological structure describing a
set of points in a 2D or 3D space.

TShapes are defined by their optional domain
(geometry) and their components (other TShapes
with Locations and Orientations). The components
are stored in a List of Shapes.

A TShape contains the following boolean flags :

- Free : Free or Frozen.
- Modified : Has been modified.
- Checked : Has been checked.
- Orientable : Can be oriented.
- Closed : Is closed.
- Infinite : Is infinite.
- Convex : Is convex.


Users have no direct access to the classes derived
from TShape. They handle them with the classes
derived from Shape.
.

#include <TopoDS_TShape.hxx>

Inheritance diagram for TopoDS_TShape:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Standard_Boolean Free () const
 Returns the free flag.
.
Standard_EXPORT void Free (const Standard_Boolean F)
 Sets the free flag.
.
Standard_EXPORT Standard_Boolean Modified () const
 Returns the modification flag.
.
Standard_EXPORT void Modified (const Standard_Boolean M)
 Sets the modification flag.
.
Standard_EXPORT Standard_Boolean Checked () const
 Returns the checked flag.
.
Standard_EXPORT void Checked (const Standard_Boolean C)
 Sets the checked flag.
.
Standard_EXPORT Standard_Boolean Orientable () const
 Returns the orientability flag.
.
Standard_EXPORT void Orientable (const Standard_Boolean C)
 Sets the orientability flag.
.
Standard_EXPORT Standard_Boolean Closed () const
 Returns the closedness flag.
.
Standard_EXPORT void Closed (const Standard_Boolean C)
 Sets the closedness flag.
.
Standard_EXPORT Standard_Boolean Infinite () const
 Returns the infinity flag.
.
Standard_EXPORT void Infinite (const Standard_Boolean C)
 Sets the infinity flag.
.
Standard_EXPORT Standard_Boolean Convex () const
 Returns the convexness flag.
.
Standard_EXPORT void Convex (const Standard_Boolean C)
 Sets the convexness flag.
.
virtual Standard_EXPORT TopAbs_ShapeEnum ShapeType () const =0
 Returns the type as a term of the ShapeEnum enum :
VERTEX, EDGE, WIRE, FACE, ....
.
virtual Standard_EXPORT Handle_TopoDS_TShape EmptyCopy () const =0
 Returns a copy of the TShape with no sub-shapes.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT TopoDS_TShape ()
 Constructs an empty TShape.
Free : True
Modified : True
Checked : False
Orientable : True
Closed : False
Infinite : False
Convex : False
.

Private Member Functions

const TopoDS_ListOfShape & Shapes () const
TopoDS_ListOfShape & ChangeShapes ()

Private Attributes

TopoDS_ListOfShape myShapes
Standard_Integer myFlags

Constructor & Destructor Documentation

Standard_EXPORT TopoDS_TShape::TopoDS_TShape (   )  [protected]
 


Member Function Documentation

TopoDS_ListOfShape & TopoDS_TShape::ChangeShapes (   )  [inline, private]
 

Standard_EXPORT void TopoDS_TShape::Checked (  const Standard_Boolean  C  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Checked (   )  const
 

Standard_EXPORT void TopoDS_TShape::Closed (  const Standard_Boolean  C  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Closed (   )  const
 

Standard_EXPORT void TopoDS_TShape::Convex (  const Standard_Boolean  C  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Convex (   )  const
 

virtual Standard_EXPORT Handle_TopoDS_TShape TopoDS_TShape::EmptyCopy (   )  const [pure virtual]
 

Implemented in BRep_TEdge, BRep_TFace, BRep_TVertex, TopoDS_TCompound, TopoDS_TCompSolid, TopoDS_TFace, TopoDS_TShell, TopoDS_TSolid, and TopoDS_TWire.

Standard_EXPORT void TopoDS_TShape::Free (  const Standard_Boolean  F  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Free (   )  const
 

Standard_EXPORT const TopoDS_TShape::Handle (  Standard_Type   )  const
 

Reimplemented in BRep_TEdge, BRep_TFace, BRep_TVertex, TopoDS_TCompound, TopoDS_TCompSolid, TopoDS_TEdge, TopoDS_TFace, TopoDS_TShell, TopoDS_TSolid, TopoDS_TVertex, and TopoDS_TWire.

Standard_EXPORT void TopoDS_TShape::Infinite (  const Standard_Boolean  C  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Infinite (   )  const
 

Standard_EXPORT void TopoDS_TShape::Modified (  const Standard_Boolean  M  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Modified (   )  const
 

Standard_EXPORT void TopoDS_TShape::Orientable (  const Standard_Boolean  C  ) 
 

Standard_EXPORT Standard_Boolean TopoDS_TShape::Orientable (   )  const
 

const TopoDS_ListOfShape & TopoDS_TShape::Shapes (   )  const [inline, private]
 

virtual Standard_EXPORT TopAbs_ShapeEnum TopoDS_TShape::ShapeType (   )  const [pure virtual]
 

Implemented in TopoDS_TCompound, TopoDS_TCompSolid, TopoDS_TEdge, TopoDS_TFace, TopoDS_TShell, TopoDS_TSolid, TopoDS_TVertex, and TopoDS_TWire.


Field Documentation

Standard_Integer TopoDS_TShape::myFlags [private]
 

Reimplemented in BRep_TEdge.

TopoDS_ListOfShape TopoDS_TShape::myShapes [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:23:10 2008 for OpenCASCADE by  doxygen 1.4.1