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

IGESSolid_Loop::IGESSolid_Loop ( )

Member Function Documentation

Handle_IGESData_IGESEntity IGESSolid_Loop::Edge ( const Standard_Integer  Index) const
Standard_Integer IGESSolid_Loop::EdgeType ( const Standard_Integer  Index) const
void IGESSolid_Loop::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 
)
  • types : 0 = Edge; 1 = Vertex
  • edges : Pointer to the EdgeList or VertexList
  • index : Index of the edge into the EdgeList
    VertexList entity
  • orient : Orientation flag of the edge
  • nbParameterCurves : the number of parameter space curves
    for each edge
  • isoparametricFlags : the isoparametric flag of the
    parameter space curve
  • curves : the parameter space curves
    raises exception if length of types, edges, index, orient and
    nbParameterCurves do not match or the length of
    isoparametricFlags and curves do not match
Standard_Boolean IGESSolid_Loop::IsBound ( ) const
Standard_Boolean IGESSolid_Loop::IsIsoparametric ( const Standard_Integer  EdgeIndex,
const Standard_Integer  CurveIndex 
) const
Standard_Integer IGESSolid_Loop::ListIndex ( const Standard_Integer  num) const
Standard_Integer IGESSolid_Loop::NbEdges ( ) const
Standard_Integer IGESSolid_Loop::NbParameterCurves ( const Standard_Integer  Index) const
Standard_Boolean IGESSolid_Loop::Orientation ( const Standard_Integer  Index) const
Handle_IGESData_IGESEntity IGESSolid_Loop::ParametricCurve ( const Standard_Integer  EdgeIndex,
const Standard_Integer  CurveIndex 
) const
void IGESSolid_Loop::SetBound ( const Standard_Boolean  bound)

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