How to use DBRep_ListIteratorOfListOfFace

 DBRep_ListIteratorOfListOfFace


Introduction

DBRep_ListIteratorOfListOfFace is used to iterate over DBRep_ListOfFace class which includes DBRep_Face classes. DBRep_Face 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_ListIteratorOfListOfFace class.

#include <DBRep_ListIteratorOfListOfFace.hxx> 
#include <DBRep_ListOfFace.hxx>

// DBRep_Face list
DBRep_ListOfFace listOfFaces;
// initialize DBRep_ListOfFace iterator
DBRep_ListIteratorOfListOfFace itr(listOfFaces);
for (; itr.More(); itr.Next()) { // get the value of DBRep_Face const Handle(DBRep_Face)& dFace = itr.Value(); }


Post a Comment

Previous Post Next Post