Open CASCADE Technology 7.8.0
|
The class BOPDS_ShapeInfo is to store handy information about shape. More...
#include <BOPDS_ShapeInfo.hxx>
Public Member Functions | |
BOPDS_ShapeInfo () | |
Empty constructor. | |
virtual | ~BOPDS_ShapeInfo () |
BOPDS_ShapeInfo (const Handle< NCollection_BaseAllocator > &theAllocator) | |
Constructor. | |
void | SetShape (const TopoDS_Shape &theS) |
Modifier Sets the shape <theS> | |
const TopoDS_Shape & | Shape () const |
Selector Returns the shape. | |
void | SetShapeType (const TopAbs_ShapeEnum theType) |
Modifier Sets the type of shape theType. | |
TopAbs_ShapeEnum | ShapeType () const |
Selector Returns the type of shape. | |
void | SetBox (const Bnd_Box &theBox) |
Modifier Sets the boundung box of the shape theBox. | |
const Bnd_Box & | Box () const |
Selector Returns the boundung box of the shape. | |
Bnd_Box & | ChangeBox () |
Selector/Modifier Returns the boundung box of the shape. | |
const TColStd_ListOfInteger & | SubShapes () const |
Selector Returns the list of indices of sub-shapes. | |
TColStd_ListOfInteger & | ChangeSubShapes () |
Selector/ Modifier Returns the list of indices of sub-shapes. | |
Standard_Boolean | HasSubShape (const Standard_Integer theI) const |
Query Returns true if the shape has sub-shape with index theI. | |
Standard_Boolean | HasReference () const |
void | SetReference (const Standard_Integer theI) |
Modifier Sets the index of a reference information. | |
Standard_Integer | Reference () const |
Selector Returns the index of a reference information. | |
Standard_Boolean | HasBRep () const |
Query Returns true if the shape has boundary representation. | |
Standard_Boolean | IsInterfering () const |
Returns true if the shape can be participant of an interference. | |
Standard_Boolean | HasFlag () const |
Query Returns true if there is flag. | |
Standard_Boolean | HasFlag (Standard_Integer &theFlag) const |
Query Returns true if there is flag. Returns the flag theFlag. | |
void | SetFlag (const Standard_Integer theI) |
Modifier Sets the flag. | |
Standard_Integer | Flag () const |
Returns the flag. | |
void | Dump () const |
Protected Attributes | |
TopoDS_Shape | myShape |
TopAbs_ShapeEnum | myType |
Bnd_Box | myBox |
TColStd_ListOfInteger | mySubShapes |
Standard_Integer | myReference |
Standard_Integer | myFlag |
The class BOPDS_ShapeInfo is to store handy information about shape.
BOPDS_ShapeInfo::BOPDS_ShapeInfo | ( | ) |
Empty constructor.
|
virtual |
BOPDS_ShapeInfo::BOPDS_ShapeInfo | ( | const Handle< NCollection_BaseAllocator > & | theAllocator | ) |
Constructor.
theAllocator | the allocator to manage the memory |
Bnd_Box & BOPDS_ShapeInfo::ChangeBox | ( | ) |
Selector/Modifier Returns the boundung box of the shape.
TColStd_ListOfInteger & BOPDS_ShapeInfo::ChangeSubShapes | ( | ) |
Selector/ Modifier Returns the list of indices of sub-shapes.
void BOPDS_ShapeInfo::Dump | ( | ) | const |
Standard_Integer BOPDS_ShapeInfo::Flag | ( | ) | const |
Returns the flag.
Standard_Boolean BOPDS_ShapeInfo::HasBRep | ( | ) | const |
Query Returns true if the shape has boundary representation.
Standard_Boolean BOPDS_ShapeInfo::HasFlag | ( | ) | const |
Query Returns true if there is flag.
Standard_Boolean BOPDS_ShapeInfo::HasFlag | ( | Standard_Integer & | theFlag | ) | const |
Query Returns true if there is flag. Returns the flag theFlag.
Standard_Boolean BOPDS_ShapeInfo::HasReference | ( | ) | const |
Standard_Boolean BOPDS_ShapeInfo::HasSubShape | ( | const Standard_Integer | theI | ) | const |
Query Returns true if the shape has sub-shape with index theI.
Standard_Boolean BOPDS_ShapeInfo::IsInterfering | ( | ) | const |
Returns true if the shape can be participant of an interference.
Flag
Standard_Integer BOPDS_ShapeInfo::Reference | ( | ) | const |
Selector Returns the index of a reference information.
Modifier Sets the boundung box of the shape theBox.
void BOPDS_ShapeInfo::SetFlag | ( | const Standard_Integer | theI | ) |
Modifier Sets the flag.
void BOPDS_ShapeInfo::SetReference | ( | const Standard_Integer | theI | ) |
Modifier Sets the index of a reference information.
void BOPDS_ShapeInfo::SetShape | ( | const TopoDS_Shape & | theS | ) |
Modifier Sets the shape <theS>
void BOPDS_ShapeInfo::SetShapeType | ( | const TopAbs_ShapeEnum | theType | ) |
Modifier Sets the type of shape theType.
const TopoDS_Shape & BOPDS_ShapeInfo::Shape | ( | ) | const |
Selector Returns the shape.
TopAbs_ShapeEnum BOPDS_ShapeInfo::ShapeType | ( | ) | const |
Selector Returns the type of shape.
const TColStd_ListOfInteger & BOPDS_ShapeInfo::SubShapes | ( | ) | const |
Selector Returns the list of indices of sub-shapes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |