Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
TObj_TXYZ Class Reference

#include <TObj_TXYZ.hxx>

Inheritance diagram for TObj_TXYZ:
Inheritance graph
[legend]

Public Member Functions

 TObj_TXYZ ()
 Standard methods of OCAF attribute.
const Standard_GUIDID () const
 Returns the ID of TObj_TXYZ attribute.
void Set (const gp_XYZ &theXYZ)
 Methods for setting and obtaining XYZ.
gp_XYZ Get () const
 Returns the XYZ.
Handle< TDF_AttributeNewEmpty () const
 Redefined OCAF abstract methods.
void Restore (const Handle< TDF_Attribute > &theWith)
 Restores the backuped contents from <theWith> into this one. It is used when aborting a transaction.
void Paste (const Handle< TDF_Attribute > &theInto, const Handle< TDF_RelocationTable > &theRT) const
 This method is used when copying an attribute from a source structure into a target structure.
virtual Standard_OStreamDump (Standard_OStream &theOS) const
 This method dumps the attribute value into the stream.

Static Public Member Functions

static const Standard_GUIDGetID ()
 This method is used in implementation of ID()
static Handle< TObj_TXYZSet (const TDF_Label &theLabel, const gp_XYZ &theXYZ)
 Method for create TObj_TXYZ object.

Constructor & Destructor Documentation

Empty constructor


Member Function Documentation

virtual Standard_OStream& TObj_TXYZ::Dump ( Standard_OStream theOS) const [virtual]

Reimplemented from TDF_Attribute.

static const Standard_GUID& TObj_TXYZ::GetID ( ) [static]
const Standard_GUID& TObj_TXYZ::ID ( ) const [virtual]

Implements TDF_Attribute.

Handle< TDF_Attribute > TObj_TXYZ::NewEmpty ( ) const [virtual]

Returns an new empty TObj_TXYZ attribute. It is used by the copy algorithm.

Implements TDF_Attribute.

void TObj_TXYZ::Paste ( const Handle< TDF_Attribute > &  theInto,
const Handle< TDF_RelocationTable > &  theRT 
) const [virtual]

Implements TDF_Attribute.

void TObj_TXYZ::Restore ( const Handle< TDF_Attribute > &  theWith) [virtual]

Implements TDF_Attribute.

static Handle< TObj_TXYZ > TObj_TXYZ::Set ( const TDF_Label theLabel,
const gp_XYZ theXYZ 
) [static]

Creates attribute and sets the XYZ

Sets the XYZ


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