#include <TDataStd_Geometry.hxx>
Inheritance diagram for TDataStd_Geometry:
Public Member Functions | |
Standard_EXPORT | TDataStd_Geometry () |
This and the next methods are used to retrieve underlying geometry of the NamedShape, even if noone Geometry Attribute is associated . if not found or not compliant geometry return False. . | |
Standard_EXPORT void | SetType (const TDataStd_GeometryEnum T) |
Returns the type of geometric construction T of this attribute. T will be a value of the enumeration TDataStd_GeometryEnum. . | |
Standard_EXPORT TDataStd_GeometryEnum | GetType () const |
Returns the type of geometric construction. . | |
Standard_EXPORT const Standard_GUID & | ID () const |
Returns the ID of the attribute. . | |
Standard_EXPORT void | Restore (const Handle(TDF_Attribute)&with) |
Restores the backuped contents from <anattribute> into this one. It is used when aborting a transaction. . | |
Standard_EXPORT Handle_TDF_Attribute | NewEmpty () const |
Returns an new empty attribute from the good end type. It is used by the copy algorithm. . | |
Standard_EXPORT 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_EXPORT Standard_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the minimum information about <me> on <astream>. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions | |
static Standard_EXPORT Handle_TDataStd_Geometry | Set (const TDF_Label &label) |
API class methods ================= //! Finds, or creates, a Geometry attribute defined by the label label. The default type of geometry is the value ANY_GEOM of the enumeration TDataStd_GeometryEnum. To specify another value of this enumeration, use the function SetType. . | |
static Standard_EXPORT TDataStd_GeometryEnum | Type (const TDF_Label &L) |
Returns the label L used to define the type of geometric construction for the geometry attribute. . | |
static Standard_EXPORT TDataStd_GeometryEnum | Type (const Handle(TNaming_NamedShape)&S) |
Returns the topological attribute S used to define the type of geometric construction for the geometry attribute. . | |
static Standard_EXPORT Standard_Boolean | Point (const TDF_Label &L, gp_Pnt &G) |
Returns the point attribute defined by the label L and the point G. . | |
static Standard_EXPORT Standard_Boolean | Point (const Handle(TNaming_NamedShape)&S, gp_Pnt &G) |
Returns the point attribute defined by the topological attribute S and the point G. . | |
static Standard_EXPORT Standard_Boolean | Axis (const TDF_Label &L, gp_Ax1 &G) |
Returns the axis attribute defined by the label L and the axis G. . | |
static Standard_EXPORT Standard_Boolean | Axis (const Handle(TNaming_NamedShape)&S, gp_Ax1 &G) |
Returns the axis attribute defined by the topological attribute S and the axis G. . | |
static Standard_EXPORT Standard_Boolean | Line (const TDF_Label &L, gp_Lin &G) |
Returns the line attribute defined by the label L and the line G. . | |
static Standard_EXPORT Standard_Boolean | Line (const Handle(TNaming_NamedShape)&S, gp_Lin &G) |
Returns the line attribute defined by the topological attribute S and the line G. . | |
static Standard_EXPORT Standard_Boolean | Circle (const TDF_Label &L, gp_Circ &G) |
Returns the circle attribute defined by the label L and the circle G. . | |
static Standard_EXPORT Standard_Boolean | Circle (const Handle(TNaming_NamedShape)&S, gp_Circ &G) |
Returns the circle attribute defined by the topological attribute S and the circle G. . | |
static Standard_EXPORT Standard_Boolean | Ellipse (const TDF_Label &L, gp_Elips &G) |
Returns the ellipse attribute defined by the label L and the ellipse G. . | |
static Standard_EXPORT Standard_Boolean | Ellipse (const Handle(TNaming_NamedShape)&S, gp_Elips &G) |
Returns the ellipse attribute defined by the topological attribute S and the ellipse G. . | |
static Standard_EXPORT Standard_Boolean | Plane (const TDF_Label &L, gp_Pln &G) |
Returns the plane attribute defined by the label L and the plane G. . | |
static Standard_EXPORT Standard_Boolean | Plane (const Handle(TNaming_NamedShape)&S, gp_Pln &G) |
Returns the plane attribute defined by the topological attribute S and the plane G. . | |
static Standard_EXPORT Standard_Boolean | Cylinder (const TDF_Label &L, gp_Cylinder &G) |
Returns the cylinder attribute defined by the label L and the cylinder G. . | |
static Standard_EXPORT Standard_Boolean | Cylinder (const Handle(TNaming_NamedShape)&S, gp_Cylinder &G) |
Returns the cylinder attribute defined by the topological attribute S and the cylinder G. . | |
static Standard_EXPORT const Standard_GUID & | GetID () |
Returns the GUID for geometry attributes. . | |
Private Attributes | |
TDataStd_GeometryEnum | myType |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from TDF_Attribute. |
|
|
|
|
|
|
|
|
|
Reimplemented from TDF_Attribute. |
|
Implements TDF_Attribute. |
|
|
|
|
|
Implements TDF_Attribute. |
|
Implements TDF_Attribute. |
|
|
|
|
|
|
|
|
|
Implements TDF_Attribute. |
|
|
|
|
|
|
|
|
|
|