- getCoords(&pInt[1], aCoords);
- theCurve->addPoints(aCoords, pInt[0]);
+ getCoords(&pInt[2], aCoords);
+ std::vector<int> anISections, anIPnts;
+ anISections.push_back( pInt[0] );
+ anIPnts.push_back( pInt[1] );
+ theCurve->addPointsInternal(aCoords, anISections, anIPnts);