Open CASCADE Technology
6.5.4
|
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>
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 |
- 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.
TopoDS_TShape::TopoDS_TShape | ( | ) | [protected] |
Standard_Boolean TopoDS_TShape::Checked | ( | ) | const |
Standard_Boolean TopoDS_TShape::Closed | ( | ) | const |
Standard_Boolean TopoDS_TShape::Convex | ( | ) | const |
virtual Handle_TopoDS_TShape TopoDS_TShape::EmptyCopy | ( | ) | const [pure virtual] |
Implemented in BRep_TFace, BRep_TEdge, BRep_TVertex, TopoDS_TWire, TopoDS_TFace, TopoDS_TShell, TopoDS_TSolid, TopoDS_TCompSolid, and TopoDS_TCompound.
Standard_Boolean TopoDS_TShape::Free | ( | ) | const |
Standard_Boolean TopoDS_TShape::Infinite | ( | ) | const |
Standard_Boolean TopoDS_TShape::Modified | ( | ) | const |
Standard_Boolean TopoDS_TShape::Orientable | ( | ) | const |
virtual TopAbs_ShapeEnum TopoDS_TShape::ShapeType | ( | ) | const [pure virtual] |
Implemented in TopoDS_TWire, TopoDS_TFace, TopoDS_TShell, TopoDS_TSolid, TopoDS_TCompSolid, TopoDS_TCompound, TopoDS_TVertex, and TopoDS_TEdge.