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