#include <TDataStd_Position.hxx>
Inheritance diagram for TDataStd_Position:
Public Member Functions | |
Standard_EXPORT | TDataStd_Position () |
Standard_EXPORT const Standard_GUID & | ID () const |
Returns the ID of the attribute. . | |
virtual Standard_EXPORT void | Restore (const Handle(TDF_Attribute)&anAttribute) |
Restores the contents from <anattribute> into this one. It is used when aborting a transaction. . | |
virtual Standard_EXPORT Handle_TDF_Attribute | NewEmpty () const |
Returns an new empty attribute from the good end type. It is used by the copy algorithm. . | |
virtual Standard_EXPORT 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. . | |
Standard_EXPORT const gp_Pnt & | GetPosition () const |
Standard_EXPORT void | SetPosition (const gp_Pnt &aPos) |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions | |
static Standard_EXPORT void | Set (const TDF_Label &aLabel, const gp_Pnt &aPos) |
Create if not found the TDataStd_Position attribute set its position to <apos> . | |
static Standard_EXPORT Handle_TDataStd_Position | Set (const TDF_Label &aLabel) |
Find an existing, or create an empty, Position. the Position attribute is returned. . | |
static Standard_EXPORT Standard_Boolean | Get (const TDF_Label &aLabel, gp_Pnt &aPos) |
Search label <aLabel) for the TDataStd_Position attribute and get its position if found returns True . | |
static Standard_EXPORT const Standard_GUID & | GetID () |
Returns the ID of the attribute. . | |
Private Attributes | |
gp_Pnt | myPosition |
|
|
|
|
|
|
|
|
|
Reimplemented from TDF_Attribute. |
|
Implements TDF_Attribute. |
|
Implements TDF_Attribute. |
|
Implements TDF_Attribute. |
|
Implements TDF_Attribute. |
|
|
|
|
|
|
|
|