|
Open CASCADE Technology
6.5.4
|
Position of a Label
#include <TDataXtd_Position.hxx>

Public Member Functions | |
| TDataXtd_Position () | |
| const Standard_GUID & | ID () const |
| Returns the ID of the attribute. | |
| virtual void | Restore (const Handle< TDF_Attribute > &anAttribute) |
| Restores the contents from <anAttribute> into this one. It is used when aborting a transaction. | |
| virtual Handle_TDF_Attribute | NewEmpty () const |
| Returns an new empty attribute from the good end type. It is used by the copy algorithm. | |
| virtual void | Paste (const Handle< TDF_Attribute > &intoAttribute, const Handle< TDF_RelocationTable > &aRelocTationable) const |
| This method is different from the "Copy" one, because it is used when copying an attribute from a source structure into a target structure. This method pastes the current attribute to the label corresponding to the insertor. The pasted attribute may be a brand new one or a new version of the previous one. | |
| const gp_Pnt & | GetPosition () const |
| void | SetPosition (const gp_Pnt &aPos) |
Static Public Member Functions | |
| static void | Set (const TDF_Label &aLabel, const gp_Pnt &aPos) |
| Create if not found the TDataXtd_Position attribute set its position to <aPos> | |
| static Handle_TDataXtd_Position | Set (const TDF_Label &aLabel) |
| Find an existing, or create an empty, Position. the Position attribute is returned. | |
| static Standard_Boolean | Get (const TDF_Label &aLabel, gp_Pnt &aPos) |
| Search label <aLabel) for the TDataXtd_Position attribute and get its position if found returns True | |
| static const Standard_GUID & | GetID () |
| Returns the ID of the attribute. | |
| static Standard_Boolean TDataXtd_Position::Get | ( | const TDF_Label & | aLabel, |
| gp_Pnt & | aPos | ||
| ) | [static] |
| static const Standard_GUID& TDataXtd_Position::GetID | ( | ) | [static] |
| const gp_Pnt& TDataXtd_Position::GetPosition | ( | ) | const |
| const Standard_GUID& TDataXtd_Position::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
| virtual Handle_TDF_Attribute TDataXtd_Position::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
| virtual void TDataXtd_Position::Paste | ( | const Handle< TDF_Attribute > & | intoAttribute, |
| const Handle< TDF_RelocationTable > & | aRelocTationable | ||
| ) | const [virtual] |
Implements TDF_Attribute.
| virtual void TDataXtd_Position::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
| static Handle_TDataXtd_Position TDataXtd_Position::Set | ( | const TDF_Label & | aLabel | ) | [static] |
| void TDataXtd_Position::SetPosition | ( | const gp_Pnt & | aPos | ) |
1.8.0