This commit is contained in:
eap 2013-06-17 12:50:10 +00:00
parent e86fadf71e
commit 4211dca375
2 changed files with 8 additions and 8 deletions

View File

@ -194,7 +194,7 @@ Handle(GEOM_Object) GEOMImpl_IBasicOperations::makePointOnGeom
double theParam2, double theParam2,
double theParam3, double theParam3,
const PointLocation theLocation, const PointLocation theLocation,
Handle(GEOM_Object) theRefPoint) Handle(GEOM_Object) theRefPoint)
{ {
SetErrorCode(KO); SetErrorCode(KO);
@ -208,7 +208,7 @@ Handle(GEOM_Object) GEOMImpl_IBasicOperations::makePointOnGeom
switch( theLocation ) switch( theLocation )
{ {
case PointOn_CurveByParam: fType = POINT_CURVE_PAR; break; case PointOn_CurveByParam: fType = POINT_CURVE_PAR; break;
case PointOn_CurveByLength: fType = POINT_CURVE_LENGTH; break; case PointOn_CurveByLength: fType = POINT_CURVE_LENGTH; break;
case PointOn_CurveByCoord: fType = POINT_CURVE_COORD; break; case PointOn_CurveByCoord: fType = POINT_CURVE_COORD; break;
case PointOn_SurfaceByParam: fType = POINT_SURFACE_PAR; break; case PointOn_SurfaceByParam: fType = POINT_SURFACE_PAR; break;
case PointOn_SurfaceByCoord: fType = POINT_SURFACE_COORD; break; case PointOn_SurfaceByCoord: fType = POINT_SURFACE_COORD; break;
@ -347,8 +347,8 @@ Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnCurveByCoord
//============================================================================= //=============================================================================
Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnCurveByLength Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnCurveByLength
(Handle(GEOM_Object) theCurve, (Handle(GEOM_Object) theCurve,
double theLength, double theLength,
Handle(GEOM_Object) theStartPoint) Handle(GEOM_Object) theStartPoint)
{ {
return makePointOnGeom(theCurve, theLength, 0.0, 0.0, PointOn_CurveByLength, theStartPoint); return makePointOnGeom(theCurve, theLength, 0.0, 0.0, PointOn_CurveByLength, theStartPoint);
} }

View File

@ -44,8 +44,8 @@ class GEOMImpl_IBasicOperations : public GEOM_IOperations {
double theParameter); double theParameter);
Standard_EXPORT Handle(GEOM_Object) MakePointOnCurveByLength (Handle(GEOM_Object) theCurve, Standard_EXPORT Handle(GEOM_Object) MakePointOnCurveByLength (Handle(GEOM_Object) theCurve,
double theLength, double theLength,
Handle(GEOM_Object) theStartPoint); Handle(GEOM_Object) theStartPoint);
Standard_EXPORT Handle(GEOM_Object) MakePointOnCurveByCoord (Handle(GEOM_Object) theCurve, Standard_EXPORT Handle(GEOM_Object) MakePointOnCurveByCoord (Handle(GEOM_Object) theCurve,
double theXParam, double theXParam,
@ -107,7 +107,7 @@ class GEOMImpl_IBasicOperations : public GEOM_IOperations {
Standard_EXPORT Handle(GEOM_Object) MakeMarker (double theOX, double theOY, double theOZ, Standard_EXPORT Handle(GEOM_Object) MakeMarker (double theOX, double theOY, double theOZ,
double theXDX, double theXDY, double theXDZ, double theXDX, double theXDY, double theXDZ,
double theYDX, double theYDY, double theYDZ); double theYDX, double theYDY, double theYDZ);
Standard_EXPORT Handle(GEOM_Object) MakeMarkerFromShape (const Handle(GEOM_Object)& theShape); Standard_EXPORT Handle(GEOM_Object) MakeMarkerFromShape (const Handle(GEOM_Object)& theShape);
Standard_EXPORT Handle(GEOM_Object) MakeMarkerPntTwoVec (const Handle(GEOM_Object)& theOrigin, Standard_EXPORT Handle(GEOM_Object) MakeMarkerPntTwoVec (const Handle(GEOM_Object)& theOrigin,
@ -139,7 +139,7 @@ class GEOMImpl_IBasicOperations : public GEOM_IOperations {
double theParam2, double theParam2,
double theParam3, double theParam3,
const PointLocation theLocation, const PointLocation theLocation,
Handle(GEOM_Object) theRefPoint = 0); Handle(GEOM_Object) theRefPoint = 0);
}; };
#endif #endif