-
- /*ASL: std::vector<TopoDS_Vertex>::const_iterator aVecIt = aVetexVec.begin(), aVecLast = aVetexVec.end();
- CurveCreator_ICurve::SectionToPointList::const_iterator anIt = thePoints.begin(),
- aLast = thePoints.end();
- int aSize = aVetexVec.size();
- CurveCreator_ICurve::SectionToPoint aSToPoint;
- int anAddedSize = 0;
- for( ; anIt != aLast; anIt++ ) {
- aSToPoint = *anIt;
-
- for ( aVecIt = aVetexVec.begin(); aVecIt != aVecLast; aVecIt++ )
- {
- TopoDS_Vertex aVertex = TopoDS::Vertex( *aVecIt );
- if ( isIntersectVertexToPoint( aVertex, aSToPoint ) ) {
- ic->AddOrRemoveSelected( aVertex, Standard_False );
- isSelectedVertex = true;
- anAddedSize++;
- }
- }
- }*/
-
- //ASL: we switch on again automatic highlight (otherwise selection will not be shown)
- // and call HilightPicked to draw selected owners
- ic->SetAutomaticHilight( Standard_True );
- ic->LocalContext()->HilightPicked( Standard_True );
-
- //ic->UpdateCurrentViewer();
- if ( !isSelectedVertex )
- setObjectsSelected( aListToSelect );
- updateLocalPointView();