mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +05:00
patch for incorrect compilation
This commit is contained in:
parent
6dc5124449
commit
bd364504cc
@ -36,13 +36,16 @@ Handle(TColgp_HArray1OfPnt) CurveCreator_Section::GetDifferentPoints( int theDim
|
|||||||
|
|
||||||
std::vector<gp_Pnt> aTmpPoints;
|
std::vector<gp_Pnt> aTmpPoints;
|
||||||
|
|
||||||
|
CurveCreator::Coordinates::const_iterator aPIt = myPoints.begin();
|
||||||
|
CurveCreator::Coordinates::const_iterator aPItLast = myPoints.end();
|
||||||
|
|
||||||
|
gp_Pnt aFirstPoint;
|
||||||
|
gp_Pnt aPoint;
|
||||||
|
|
||||||
if( myPoints.size() > 0 )
|
if( myPoints.size() > 0 )
|
||||||
{
|
{
|
||||||
CurveCreator::Coordinates::const_iterator aPIt = myPoints.begin();
|
aFirstPoint = gp_Pnt(*aPIt, *(aPIt + 1), (theDimension == 2) ? 0 : *(aPIt + 2));
|
||||||
CurveCreator::Coordinates::const_iterator aPItLast = myPoints.end();
|
aPoint = aFirstPoint;
|
||||||
const gp_Pnt aFirstPoint(
|
|
||||||
*aPIt, *(aPIt + 1), (theDimension == 2) ? 0 : *(aPIt + 2));
|
|
||||||
gp_Pnt aPoint = aFirstPoint;
|
|
||||||
aTmpPoints.push_back(aPoint);
|
aTmpPoints.push_back(aPoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user