Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
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 :

More...

#include <TopoDS_TShape.hxx>

Inheritance diagram for TopoDS_TShape:
Inheritance graph
[legend]

Public Member Functions

Standard_Boolean Free () const
 Returns the free flag.

void Free (const Standard_Boolean F)
 Sets the free flag.

Standard_Boolean Modified () const
 Returns the modification flag.

void Modified (const Standard_Boolean M)
 Sets the modification flag.

Standard_Boolean Checked () const
 Returns the checked flag.

void Checked (const Standard_Boolean C)
 Sets the checked flag.

Standard_Boolean Orientable () const
 Returns the orientability flag.

void Orientable (const Standard_Boolean C)
 Sets the orientability flag.

Standard_Boolean Closed () const
 Returns the closedness flag.

void Closed (const Standard_Boolean C)
 Sets the closedness flag.

Standard_Boolean Infinite () const
 Returns the infinity flag.

void Infinite (const Standard_Boolean C)
 Sets the infinity flag.

Standard_Boolean Convex () const
 Returns the convexness flag.

void Convex (const Standard_Boolean C)
 Sets the convexness flag.

virtual TopAbs_ShapeEnum ShapeType () const =0
 Returns the type as a term of the ShapeEnum enum :
VERTEX, EDGE, WIRE, FACE, ....

virtual Handle_TopoDS_TShape EmptyCopy () const =0
 Returns a copy of the TShape with no sub-shapes.

Protected Member Functions

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


Detailed Description

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



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


Constructor & Destructor Documentation


Member Function Documentation

virtual Handle_TopoDS_TShape TopoDS_TShape::EmptyCopy ( ) const [pure virtual]
virtual TopAbs_ShapeEnum TopoDS_TShape::ShapeType ( ) const [pure virtual]

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