How to use DBRep_ListIteratorOfListOfEdge

 DBRep_ListIteratorOfListOfEdge


Introduction

DBRep_ListIteratorOfListOfEdge is used to iterate over DBRep_ListOfEdge class which includes DBRep_Edge classes. DBRep_Edge class is a utility class which gives a way to represent an edge in 3D geometry.

Example

Here is an example of how to use the DBRep_ListIteratorOfListOfEdge class.

#include <DBRep_ListIteratorOfListOfEdge.hxx> 
#include <DBRep_ListOfEdge.hxx>

// DBRep_Edge list
DBRep_ListOfEdge listOfEdges;
// initialize DBRep_ListOfEdge iterator
DBRep_ListIteratorOfListOfEdge itr(listOfEdges);
for (; itr.More(); itr.Next())
{
    // get the value of DBRep_Edge
    const Handle(DBRep_Edge)& dEdge = itr.Value();
}


Post a Comment

Previous Post Next Post