Open CASCADE Technology 6.6.0
Public Member Functions
IGESSolid_Shell Class Reference

defines Shell, Type <514> Form Number <1>
in package IGESSolid
Shell entity is a connected entity of dimensionality 2
which divides R3 into two arcwise connected open subsets,
one of which is finite. Inside of the shell is defined to
be the finite region.
From IGES-5.3, Form can be <1> for Closed or <2> for Open

#include <IGESSolid_Shell.hxx>

Inheritance diagram for IGESSolid_Shell:
Inheritance graph
[legend]

Public Member Functions

 IGESSolid_Shell ()
void Init (const Handle< IGESSolid_HArray1OfFace > &allFaces, const Handle< TColStd_HArray1OfInteger > &allOrient)
 This method is used to set the fields of the class Shell

Standard_Boolean IsClosed () const
 Tells if a Shell is Closed, i.e. if its FormNumber is 1
(this is the default)

void SetClosed (const Standard_Boolean closed)
 Sets or Unsets the Closed status (FormNumber = 1 else 2)

Standard_Integer NbFaces () const
 returns the number of the face entities in the shell

Handle_IGESSolid_Face Face (const Standard_Integer Index) const
 returns the Index'th face entity of the shell
raises exception if Index <= 0 or Index > NbFaces()

Standard_Boolean Orientation (const Standard_Integer Index) const
 returns the orientation of Index'th face w.r.t the direction of
the underlying surface
raises exception if Index <= 0 or Index > NbFaces()


Constructor & Destructor Documentation

IGESSolid_Shell::IGESSolid_Shell ( )

Member Function Documentation

Handle_IGESSolid_Face IGESSolid_Shell::Face ( const Standard_Integer  Index) const
void IGESSolid_Shell::Init ( const Handle< IGESSolid_HArray1OfFace > &  allFaces,
const Handle< TColStd_HArray1OfInteger > &  allOrient 
)
  • allFaces : the faces comprising the shell
  • allOrient : the orientation flags of the shell
    raises exception if length of allFaces & allOrient do not match
Standard_Boolean IGESSolid_Shell::IsClosed ( ) const
Standard_Integer IGESSolid_Shell::NbFaces ( ) const
Standard_Boolean IGESSolid_Shell::Orientation ( const Standard_Integer  Index) const
void IGESSolid_Shell::SetClosed ( const Standard_Boolean  closed)

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