+ if (mapShape.Add(aShapeVertex))
+ aVertexList.Append( aShapeVertex );
+ }
+ } else { // get all vertices from wire
+ TopExp_Explorer anExp( aWire, TopAbs_VERTEX );
+ for ( ; anExp.More(); anExp.Next() ) {
+ if (mapShape.Add(anExp.Current()))
+ aVertexList.Append( anExp.Current() );