Open CASCADE Technology 6.6.0
Public Member Functions
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

 IGESSolid_SolidAssembly ()
void Init (const Handle< IGESData_HArray1OfIGESEntity > &allItems, const Handle< IGESGeom_HArray1OfTransformationMatrix > &allMatrices)
 This method is used to set the fields of the class
SolidAssembly

Standard_Boolean HasBrep () const
 Tells if at least one item is a Brep, from FormNumber

void SetBrep (const Standard_Boolean hasbrep)
 Sets or Unsets the status "HasBrep" from FormNumber
Default is False

Standard_Integer NbItems () const
 returns the number of items in the collection

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

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()


Constructor & Destructor Documentation

IGESSolid_SolidAssembly::IGESSolid_SolidAssembly ( )

Member Function Documentation

Standard_Boolean IGESSolid_SolidAssembly::HasBrep ( ) const
void IGESSolid_SolidAssembly::Init ( const Handle< IGESData_HArray1OfIGESEntity > &  allItems,
const Handle< IGESGeom_HArray1OfTransformationMatrix > &  allMatrices 
)
  • allItems : the collection of items
  • allMatrices : transformation matrices corresponding to each
    item
    raises exception if the length of allItems & allMatrices
    do not match
Handle_IGESData_IGESEntity IGESSolid_SolidAssembly::Item ( const Standard_Integer  Index) const
Standard_Integer IGESSolid_SolidAssembly::NbItems ( ) const
void IGESSolid_SolidAssembly::SetBrep ( const Standard_Boolean  hasbrep)
Handle_IGESGeom_TransformationMatrix IGESSolid_SolidAssembly::TransfMatrix ( const Standard_Integer  Index) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines