Open CASCADE Technology  7.2.0
Public Member Functions

TopoDS_Compound Class Reference

Describes a compound which. More...

#include <TopoDS_Compound.hxx>

Inheritance diagram for TopoDS_Compound:
Inheritance graph
[legend]

Public Member Functions

 TopoDS_Compound ()
 Constructs an Undefined Compound. More...
 
- Public Member Functions inherited from TopoDS_Shape
 TopoDS_Shape ()
 Creates a NULL Shape referring to nothing. More...
 
Standard_Boolean IsNull () const
 Returns true if this shape is null. In other words, it references no underlying shape with the potential to be given a location and an orientation. More...
 
void Nullify ()
 Destroys the reference to the underlying shape stored in this shape. As a result, this shape becomes null. More...
 
const TopLoc_LocationLocation () const
 Returns the shape local coordinate system. More...
 
void Location (const TopLoc_Location &Loc)
 Sets the shape local coordinate system. More...
 
TopoDS_Shape Located (const TopLoc_Location &Loc) const
 Returns a shape similar to <me> with the local coordinate system set to <Loc>. More...
 
TopAbs_Orientation Orientation () const
 Returns the shape orientation. More...
 
void Orientation (const TopAbs_Orientation Orient)
 Sets the shape orientation. More...
 
TopoDS_Shape Oriented (const TopAbs_Orientation Or) const
 Returns a shape similar to <me> with the orientation set to <Or>. More...
 
const Handle< TopoDS_TShape > & TShape () const
 
TopAbs_ShapeEnum ShapeType () const
 Returns the value of the TopAbs_ShapeEnum enumeration that corresponds to this shape, for example VERTEX, EDGE, and so on. Exceptions Standard_NullObject if this shape is null. More...
 
Standard_Boolean Free () const
 Returns the free flag. More...
 
void Free (const Standard_Boolean F)
 Sets the free flag. More...
 
Standard_Boolean Locked () const
 Returns the locked flag. More...
 
void Locked (const Standard_Boolean F)
 Sets the locked flag. More...
 
Standard_Boolean Modified () const
 Returns the modification flag. More...
 
void Modified (const Standard_Boolean M)
 Sets the modification flag. More...
 
Standard_Boolean Checked () const
 Returns the checked flag. More...
 
void Checked (const Standard_Boolean C)
 Sets the checked flag. More...
 
Standard_Boolean Orientable () const
 Returns the orientability flag. More...
 
void Orientable (const Standard_Boolean C)
 Sets the orientability flag. More...
 
Standard_Boolean Closed () const
 Returns the closedness flag. More...
 
void Closed (const Standard_Boolean C)
 Sets the closedness flag. More...
 
Standard_Boolean Infinite () const
 Returns the infinity flag. More...
 
void Infinite (const Standard_Boolean C)
 Sets the infinity flag. More...
 
Standard_Boolean Convex () const
 Returns the convexness flag. More...
 
void Convex (const Standard_Boolean C)
 Sets the convexness flag. More...
 
void Move (const TopLoc_Location &position)
 Multiplies the Shape location by <position>. More...
 
TopoDS_Shape Moved (const TopLoc_Location &position) const
 Returns a shape similar to <me> with a location multiplied by <position>. More...
 
void Reverse ()
 Reverses the orientation, using the Reverse method from the TopAbs package. More...
 
TopoDS_Shape Reversed () const
 Returns a shape similar to <me> with the orientation reversed, using the Reverse method from the TopAbs package. More...
 
void Complement ()
 Complements the orientation, using the Complement method from the TopAbs package. More...
 
TopoDS_Shape Complemented () const
 Returns a shape similar to <me> with the orientation complemented, using the Complement method from the TopAbs package. More...
 
void Compose (const TopAbs_Orientation Orient)
 Updates the Shape Orientation by composition with <Orient>, using the Compose method from the TopAbs package. More...
 
TopoDS_Shape Composed (const TopAbs_Orientation Orient) const
 Returns a shape similar to <me> with the orientation composed with <Orient>, using the Compose method from the TopAbs package. More...
 
Standard_Boolean IsPartner (const TopoDS_Shape &other) const
 Returns True if two shapes are partners, i.e. if they share the same TShape. Locations and Orientations may differ. More...
 
Standard_Boolean IsSame (const TopoDS_Shape &other) const
 Returns True if two shapes are same, i.e. if they share the same TShape with the same Locations. Orientations may differ. More...
 
Standard_Boolean IsEqual (const TopoDS_Shape &other) const
 Returns True if two shapes are equal, i.e. if they share the same TShape with the same Locations and Orientations. More...
 
Standard_Boolean operator== (const TopoDS_Shape &other) const
 
Standard_Boolean IsNotEqual (const TopoDS_Shape &other) const
 Negation of the IsEqual method. More...
 
Standard_Boolean operator!= (const TopoDS_Shape &other) const
 
Standard_Integer HashCode (const Standard_Integer Upper) const
 Returns a hashed value denoting <me>. This value is in the range 1..<Upper>. It is computed from the TShape and the Location. The Orientation is not used. More...
 
void EmptyCopy ()
 Replace <me> by a new Shape with the same Orientation and Location and a new TShape with the same geometry and no sub-shapes. More...
 
TopoDS_Shape EmptyCopied () const
 Returns a new Shape with the same Orientation and Location and a new TShape with the same geometry and no sub-shapes. More...
 
void TShape (const Handle< TopoDS_TShape > &T)
 

Detailed Description

Describes a compound which.

Constructor & Destructor Documentation

◆ TopoDS_Compound()

TopoDS_Compound::TopoDS_Compound ( )

Constructs an Undefined Compound.


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