How to use TopOpeBRep_ListIteratorOfListOfBipoint

 TopOpeBRep_ListIteratorOfListOfBipoint


Introduction

TopOpeBRep_ListIteratorOfListOfBipoint is used to iterate over a list of TopOpeBRep_Bipoint objects. 

TopOpeBRep_Bipoint

TopOpeBRep_Bipoint is used to store pair of points on two different edges in a BRep model. This is commonly used in Boolean operation algorithms (eg: union, intersection, cut, etc.).

The two parameters stored in TopOpeBRep_Bipoint are,

  • parameter value on the first edge where the intersection occurs (bipoint is located)
  • parameter value on the second edges where the intersection occurs (bipoint is located)
A bipoint is a point where two edges of a BRep model intersect. 

Example

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

#include <TopOpeBRep_ListIteratorOfListOfBipoint .hxx>

// list of HLRTopoBRep_VData objects
TopOpeBRep_ListOfBipoint  list;
// initialize the iterator
TopOpeBRep_ListIteratorOfListOfBipoint itr(list);
for (; itr.More(); itr.Next())
{
    TopOpeBRep_Bipoint data = itr.Value(); // value
}

Post a Comment

Previous Post Next Post