summaryrefslogtreecommitdiff
path: root/src/BRepGProp/BRepGProp_Domain.cxx
blob: f3bedc112568bf0f9a1f7488cc8a1121d151b3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// File:	BRepGProp_Domain.cxx
// Created:	Tue Dec 13 08:58:57 2005
// Author:	Sergey KHROMOV
//		<skv@dimox>


#include <BRepGProp_Domain.ixx>

//=======================================================================
//function : Next
//purpose  : Sets the index of the arc iterator to the next arc of curve.
//=======================================================================

void BRepGProp_Domain::Next () {

  // skip INTERNAL and EXTERNAL edges

  myExplorer.Next();
  while (myExplorer.More()) {
    TopAbs_Orientation Or = myExplorer.Current().Orientation();
    if ((Or == TopAbs_FORWARD) || (Or == TopAbs_REVERSED)) return;
    myExplorer.Next();
  }
}