OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKIGES
IGESSolid


IGESSolid_SolidAssembly Class Reference

defines SolidAssembly, Type <184> Form <0>
in package IGESSolid
Solid assembly is a collection of items which possess a
shared fixed geometric relationship.

From IGES-5.3, From 1 says that at least one item is a Brep
else all are Primitives, Boolean Trees, Solid Instances or
other Assemblies

#include <IGESSolid_SolidAssembly.hxx>

Inheritance diagram for IGESSolid_SolidAssembly:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT IGESSolid_SolidAssembly ()
Standard_EXPORT void Init (const Handle(IGESData_HArray1OfIGESEntity)&allItems, const Handle(IGESGeom_HArray1OfTransformationMatrix)&allMatrices)
 This method is used to set the fields of the class
SolidAssembly
- allItems : the collection of items
- allMatrices : transformation matrices corresponding to each
item
raises exception if the length of allItems & allMatrices
do not match
.
Standard_EXPORT Standard_Boolean HasBrep () const
 Tells if at least one item is a Brep, from FormNumber
.
Standard_EXPORT void SetBrep (const Standard_Boolean hasbrep)
 Sets or Unsets the status "HasBrep" from FormNumber
Default is False
.
Standard_EXPORT Standard_Integer NbItems () const
 returns the number of items in the collection

Standard_EXPORT Handle_IGESData_IGESEntity Item (const Standard_Integer Index) const
 returns the Index'th item
raises exception if Index <= 0 or Index > NbItems()

Standard_EXPORT Handle_IGESGeom_TransformationMatrix TransfMatrix (const Standard_Integer Index) const
 returns the transformation matrix of the Index'th item
raises exception if Index <= 0 or Index > NbItems()

Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Handle_IGESData_HArray1OfIGESEntity theItems
Handle_IGESGeom_HArray1OfTransformationMatrix theMatrices

Constructor & Destructor Documentation

Standard_EXPORT IGESSolid_SolidAssembly::IGESSolid_SolidAssembly  ) 
 


Member Function Documentation

Standard_EXPORT const IGESSolid_SolidAssembly::Handle Standard_Type   )  const
 

Reimplemented from IGESData_IGESEntity.

Standard_EXPORT Standard_Boolean IGESSolid_SolidAssembly::HasBrep  )  const
 

Standard_EXPORT void IGESSolid_SolidAssembly::Init const Handle(IGESData_HArray1OfIGESEntity)&  allItems,
const Handle(IGESGeom_HArray1OfTransformationMatrix)&  allMatrices
 

Standard_EXPORT Handle_IGESData_IGESEntity IGESSolid_SolidAssembly::Item const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Integer IGESSolid_SolidAssembly::NbItems  )  const
 

Standard_EXPORT void IGESSolid_SolidAssembly::SetBrep const Standard_Boolean  hasbrep  ) 
 

Standard_EXPORT Handle_IGESGeom_TransformationMatrix IGESSolid_SolidAssembly::TransfMatrix const Standard_Integer  Index  )  const
 


Field Documentation

Handle_IGESData_HArray1OfIGESEntity IGESSolid_SolidAssembly::theItems [private]
 

Handle_IGESGeom_HArray1OfTransformationMatrix IGESSolid_SolidAssembly::theMatrices [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:41:24 2008 for OpenCASCADE by  doxygen 1.4.1