Open CASCADE Technology 7.8.2.dev
XmlMNaming_Shape1 Class Reference

The XmlMNaming_Shape1 is the Persistent view of a TopoDS_Shape. More...

#include <XmlMNaming_Shape1.hxx>

Public Member Functions

 XmlMNaming_Shape1 (XmlObjMgt_Document &Doc)
 
 XmlMNaming_Shape1 (const XmlObjMgt_Element &E)
 
const XmlObjMgt_ElementElement () const
 return myElement
 
XmlObjMgt_ElementElement ()
 return myElement
 
Standard_Integer TShapeId () const
 
Standard_Integer LocId () const
 
TopAbs_Orientation Orientation () const
 
void SetShape (const Standard_Integer ID, const Standard_Integer LocID, const TopAbs_Orientation Orient)
 
void SetVertex (const TopoDS_Shape &theVertex)
 

Detailed Description

The XmlMNaming_Shape1 is the Persistent view of a TopoDS_Shape.

a Shape1 contains :

  • a reference to a TShape
  • a reference to Location
  • an Orientation.

Constructor & Destructor Documentation

◆ XmlMNaming_Shape1() [1/2]

XmlMNaming_Shape1::XmlMNaming_Shape1 ( XmlObjMgt_Document & Doc)

◆ XmlMNaming_Shape1() [2/2]

XmlMNaming_Shape1::XmlMNaming_Shape1 ( const XmlObjMgt_Element & E)

Member Function Documentation

◆ Element() [1/2]

XmlObjMgt_Element & XmlMNaming_Shape1::Element ( )

return myElement

◆ Element() [2/2]

const XmlObjMgt_Element & XmlMNaming_Shape1::Element ( ) const

return myElement

◆ LocId()

Standard_Integer XmlMNaming_Shape1::LocId ( ) const

◆ Orientation()

TopAbs_Orientation XmlMNaming_Shape1::Orientation ( ) const

◆ SetShape()

void XmlMNaming_Shape1::SetShape ( const Standard_Integer ID,
const Standard_Integer LocID,
const TopAbs_Orientation Orient )

◆ SetVertex()

void XmlMNaming_Shape1::SetVertex ( const TopoDS_Shape & theVertex)

◆ TShapeId()

Standard_Integer XmlMNaming_Shape1::TShapeId ( ) const

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