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

defines EdgeList, Type <504> Form <1>
in package IGESSolid
EdgeList is defined as a segment joining two vertices

#include <IGESSolid_EdgeList.hxx>

Inheritance diagram for IGESSolid_EdgeList:
Inheritance graph
[legend]

Public Member Functions

 IGESSolid_EdgeList ()
void Init (const Handle< IGESData_HArray1OfIGESEntity > &curves, const Handle< IGESSolid_HArray1OfVertexList > &startVertexList, const Handle< TColStd_HArray1OfInteger > &startVertexIndex, const Handle< IGESSolid_HArray1OfVertexList > &endVertexList, const Handle< TColStd_HArray1OfInteger > &endVertexIndex)
 This method is used to set the fields of the class
EdgeList

Standard_Integer NbEdges () const
 returns the number of edges in the edge list

Handle_IGESData_IGESEntity Curve (const Standard_Integer num) const
 returns the num'th model space curve
raises Exception if num <= 0 or num > NbEdges()

Handle_IGESSolid_VertexList StartVertexList (const Standard_Integer num) const
 returns the num'th start vertex list
raises Exception if num <= 0 or num > NbEdges()

Standard_Integer StartVertexIndex (const Standard_Integer num) const
 returns the index of num'th start vertex in
the corresponding start vertex list
raises Exception if num <= 0 or num > NbEdges()

Handle_IGESSolid_VertexList EndVertexList (const Standard_Integer num) const
 returns the num'th end vertex list
raises Exception if num <= 0 or num > NbEdges()

Standard_Integer EndVertexIndex (const Standard_Integer num) const
 returns the index of num'th end vertex in
the corresponding end vertex list
raises Exception if num <= 0 or num > NbEdges()


Constructor & Destructor Documentation


Member Function Documentation

Handle_IGESData_IGESEntity IGESSolid_EdgeList::Curve ( const Standard_Integer  num) const
Handle_IGESSolid_VertexList IGESSolid_EdgeList::EndVertexList ( const Standard_Integer  num) const
  - curves           : the model space curves <br>
  - startVertexList  : the vertex list that contains the <br>
                       start vertices <br>
  - startVertexIndex : the index of the vertex in the <br>
                       corresponding vertex list <br>
  - endVertexList    : the vertex list that contains the <br>
                       end vertices <br>
  - endVertexIndex   : the index of the vertex in the <br>
                       corresponding vertex list <br>

raises exception if size of curves,startVertexList,startVertexIndex,
endVertexList and endVertexIndex do no match

Handle_IGESSolid_VertexList IGESSolid_EdgeList::StartVertexList ( const Standard_Integer  num) const

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