Open CASCADE Technology
6.5.4
|
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>
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() |
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 <br> - allOrient : the orientation flags of the shell <br>
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 | ) |