|
Open CASCADE Technology 6.5.2
|
The basis to define a plane attribute.
Warning: Use TDataXtd_Geometry attribute to retrieve the
gp_Pln of the Plane attribute
#include <TDataXtd_Plane.hxx>

Public Member Functions | |
| TDataXtd_Plane () | |
| const Standard_GUID & | ID () const |
| Returns the ID of the attribute. | |
| void | Restore (const Handle< TDF_Attribute > &With) |
| Restores the backuped contents from <anAttribute> into this one. It is used when aborting a transaction. | |
| Handle_TDF_Attribute | NewEmpty () const |
| Returns an new empty attribute from the good end type. It is used by the copy algorithm. | |
| void | Paste (const Handle< TDF_Attribute > &Into, const Handle< TDF_RelocationTable > &RT) 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 may paste the contents of <me> into <intoAttribute>. The given pasted attribute can be full or empty of its contents. But don't make a NEW! Just set the contents! It is possible to use <aRelocationTable> to get/set the relocation value of a source attribute. | |
| virtual Standard_OStream & | Dump (Standard_OStream &anOS) const |
| Dumps the minimum information about <me> on <aStream>. | |
Static Public Member Functions | |
| static const Standard_GUID & | GetID () |
| class methods ============= Returns the GUID for plane attributes. | |
| static Handle_TDataXtd_Plane | Set (const TDF_Label &label) |
| Finds or creates the plane attribute defined by the label label. Warning If you are creating the attribute with this syntax, a planar face should already be associated with label. | |
| static Handle_TDataXtd_Plane | Set (const TDF_Label &label, const gp_Pln &P) |
| Finds, or creates, a Plane attribute and sets. | |
| TDataXtd_Plane::TDataXtd_Plane | ( | ) |
| virtual Standard_OStream& TDataXtd_Plane::Dump | ( | Standard_OStream & | anOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
| static const Standard_GUID& TDataXtd_Plane::GetID | ( | ) | [static] |
| const Standard_GUID& TDataXtd_Plane::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
| Handle_TDF_Attribute TDataXtd_Plane::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
| void TDataXtd_Plane::Paste | ( | const Handle< TDF_Attribute > & | intoAttribute, |
| const Handle< TDF_RelocationTable > & | aRelocationTable | ||
| ) | const [virtual] |
Implements TDF_Attribute.
| void TDataXtd_Plane::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
| static Handle_TDataXtd_Plane TDataXtd_Plane::Set | ( | const TDF_Label & | label, |
| const gp_Pln & | P | ||
| ) | [static] |
as
generated the associated NamedShape.
//! Plane methods
=============
| static Handle_TDataXtd_Plane TDataXtd_Plane::Set | ( | const TDF_Label & | label | ) | [static] |
1.7.4