Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESSolid_Loop Class Reference

defines Loop, Type <508> Form Number <1>
in package IGESSolid
A Loop entity specifies a bound of a face. It represents
a connected collection of face boundaries, seams, and
poles of a single face.

From IGES-5.3, a Loop can be free with Form Number 0,
else it is a bound of a face (it is the default)

#include <IGESSolid_Loop.hxx>

Inheritance diagram for IGESSolid_Loop:
Inheritance graph
[legend]

Public Member Functions

 IGESSolid_Loop ()
void Init (const Handle< TColStd_HArray1OfInteger > &types, const Handle< IGESData_HArray1OfIGESEntity > &edges, const Handle< TColStd_HArray1OfInteger > &index, const Handle< TColStd_HArray1OfInteger > &orient, const Handle< TColStd_HArray1OfInteger > &nbParameterCurves, const Handle< IGESBasic_HArray1OfHArray1OfInteger > &isoparametricFlags, const Handle< IGESBasic_HArray1OfHArray1OfIGESEntity > &curves)
 This method is used to set the fields of the class Loop

Standard_Boolean IsBound () const
 Tells if a Loop is a Bound (FN 1) else it is free (FN 0)

void SetBound (const Standard_Boolean bound)
 Sets or Unset the Bound Status (from Form Number)
Default is True

Standard_Integer NbEdges () const
 returns the number of edge tuples

Standard_Integer EdgeType (const Standard_Integer Index) const
 returns the type of Index'th edge (0 = Edge, 1 = Vertex)
raises exception if Index <= 0 or Index > NbEdges()

Handle_IGESData_IGESEntity Edge (const Standard_Integer Index) const
 return the EdgeList or VertexList corresponding to the Index
raises exception if Index <= 0 or Index > NbEdges()

Standard_Boolean Orientation (const Standard_Integer Index) const
 returns the orientation flag corresponding to Index'th edge
raises exception if Index <= 0 or Index > NbEdges()

Standard_Integer NbParameterCurves (const Standard_Integer Index) const
 return the number of parameter space curves associated with
Index'th Edge
raises exception if Index <= 0 or Index > NbEdges()

Standard_Boolean IsIsoparametric (const Standard_Integer EdgeIndex, const Standard_Integer CurveIndex) const
Handle_IGESData_IGESEntity ParametricCurve (const Standard_Integer EdgeIndex, const Standard_Integer CurveIndex) const
 returns the CurveIndex'th parameter space curve associated with
EdgeIndex'th edge
raises exception if EdgeIndex <= 0 or EdgeIndex > NbEdges() or
if CurveIndex <= 0 or CurveIndex > NbParameterCurves(EdgeIndex)

Standard_Integer ListIndex (const Standard_Integer num) const
 raises exception If num <= 0 or num > NbEdges()


Constructor & Destructor Documentation


Member Function Documentation

Handle_IGESData_IGESEntity IGESSolid_Loop::Edge ( const Standard_Integer  Index) const
  - types              : 0 = Edge; 1 = Vertex <br>
  - edges              : Pointer to the EdgeList or VertexList <br>
  - index              : Index of the edge into the EdgeList <br>
                         VertexList entity <br>
  - orient             : Orientation flag of the edge <br>
  - nbParameterCurves  : the number of parameter space curves <br>
                         for each edge <br>
  - isoparametricFlags : the isoparametric flag of the <br>
                         parameter space curve <br>
  - curves             : the parameter space curves <br>

raises exception if length of types, edges, index, orient and
nbParameterCurves do not match or the length of
isoparametricFlags and curves do not match

Handle_IGESData_IGESEntity IGESSolid_Loop::ParametricCurve ( const Standard_Integer  EdgeIndex,
const Standard_Integer  CurveIndex 
) const

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