OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKIGES
IGESSolid


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

Standard_EXPORT IGESSolid_Loop ()
Standard_EXPORT 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
- 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_EXPORT Standard_Boolean IsBound () const
 Tells if a Loop is a Bound (FN 1) else it is free (FN 0)
.
Standard_EXPORT void SetBound (const Standard_Boolean bound)
 Sets or Unset the Bound Status (from Form Number)
Default is True
.
Standard_EXPORT Standard_Integer NbEdges () const
 returns the number of edge tuples

Standard_EXPORT 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()

Standard_EXPORT 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_EXPORT 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_EXPORT 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_EXPORT Standard_Boolean IsIsoparametric (const Standard_Integer EdgeIndex, const Standard_Integer CurveIndex) const
Standard_EXPORT 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_EXPORT Standard_Integer ListIndex (const Standard_Integer num) const
 raises exception If num <= 0 or num > NbEdges()

Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Handle_TColStd_HArray1OfInteger theTypes
Handle_IGESData_HArray1OfIGESEntity theEdges
Handle_TColStd_HArray1OfInteger theIndex
Handle_TColStd_HArray1OfInteger theOrientationFlags
Handle_TColStd_HArray1OfInteger theNbParameterCurves
Handle_IGESBasic_HArray1OfHArray1OfInteger theIsoparametricFlags
Handle_IGESBasic_HArray1OfHArray1OfIGESEntity theCurves

Constructor & Destructor Documentation

Standard_EXPORT IGESSolid_Loop::IGESSolid_Loop  ) 
 


Member Function Documentation

Standard_EXPORT Handle_IGESData_IGESEntity IGESSolid_Loop::Edge const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Integer IGESSolid_Loop::EdgeType const Standard_Integer  Index  )  const
 

Standard_EXPORT const IGESSolid_Loop::Handle Standard_Type   )  const
 

Reimplemented from IGESData_IGESEntity.

Standard_EXPORT 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
 

Standard_EXPORT Standard_Boolean IGESSolid_Loop::IsBound  )  const
 

Standard_EXPORT Standard_Boolean IGESSolid_Loop::IsIsoparametric const Standard_Integer  EdgeIndex,
const Standard_Integer  CurveIndex
const
 

Standard_EXPORT Standard_Integer IGESSolid_Loop::ListIndex const Standard_Integer  num  )  const
 

Standard_EXPORT Standard_Integer IGESSolid_Loop::NbEdges  )  const
 

Standard_EXPORT Standard_Integer IGESSolid_Loop::NbParameterCurves const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Boolean IGESSolid_Loop::Orientation const Standard_Integer  Index  )  const
 

Standard_EXPORT Handle_IGESData_IGESEntity IGESSolid_Loop::ParametricCurve const Standard_Integer  EdgeIndex,
const Standard_Integer  CurveIndex
const
 

Standard_EXPORT void IGESSolid_Loop::SetBound const Standard_Boolean  bound  ) 
 


Field Documentation

Handle_IGESBasic_HArray1OfHArray1OfIGESEntity IGESSolid_Loop::theCurves [private]
 

Handle_IGESData_HArray1OfIGESEntity IGESSolid_Loop::theEdges [private]
 

Handle_TColStd_HArray1OfInteger IGESSolid_Loop::theIndex [private]
 

Handle_IGESBasic_HArray1OfHArray1OfInteger IGESSolid_Loop::theIsoparametricFlags [private]
 

Handle_TColStd_HArray1OfInteger IGESSolid_Loop::theNbParameterCurves [private]
 

Handle_TColStd_HArray1OfInteger IGESSolid_Loop::theOrientationFlags [private]
 

Handle_TColStd_HArray1OfInteger IGESSolid_Loop::theTypes [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:41:22 2008 for OpenCASCADE by  doxygen 1.4.1