double theParam2,
double theParam3,
const PointLocation theLocation,
+ int theNumberOfPnts,
const bool takeOrientationIntoAccount,
Handle(GEOM_Object) theRefPoint)
{
break;
case PointOn_Face:
aPI.SetSurface(aRefFunction);
+ aPI.SetNumberOfPoints(theNumberOfPnts);
break;
default: break;
}
break;
case PointOn_Face:
GEOM::TPythonDump(aFunction) << aPoint << " = geompy.MakeVertexInsideFace("
- << theGeomObj << ")";
+ << theGeomObj << ", " << theNumberOfPnts << ")";
break;
default: break;
}
bool takeOrientationIntoAccount)
{
return makePointOnGeom(theCurve, theParameter, 0.0, 0.0, PointOn_CurveByParam,
- takeOrientationIntoAccount);
+ 1, takeOrientationIntoAccount);
}
//=============================================================================
Handle(GEOM_Object) theStartPoint)
{
return makePointOnGeom(theCurve, theLength, 0.0, 0.0, PointOn_CurveByLength,
- false, theStartPoint);
+ 1, false, theStartPoint);
}
//=============================================================================
* MakePointOnFace
*/
//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnFace (Handle(GEOM_Object) theFace)
+Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnFace (Handle(GEOM_Object) theFace,
+ int theNumberOfPnts)
{
- return makePointOnGeom(theFace, 0., 0., 0., PointOn_Face);
+ return makePointOnGeom(theFace, 0., 0., 0., PointOn_Face, theNumberOfPnts);
}
//=============================================================================