Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

  - allItems    : the collection of items <br>
  - allMatrices : transformation matrices corresponding to each <br>
                  item <br>

raises exception if the length of allItems & allMatrices
do not match

Handle_IGESData_IGESEntity IGESSolid_SolidAssembly::Item ( const Standard_Integer  Index) const
Handle_IGESGeom_TransformationMatrix IGESSolid_SolidAssembly::TransfMatrix ( const Standard_Integer  Index) const

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