From 56e26740b42f74df1e8bfc3935743aebaeb37cfb Mon Sep 17 00:00:00 2001
From: msv <msv@opencascade.com>
Date: Fri, 8 May 2015 15:44:48 +0300
Subject: [PATCH] 0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite
 line instead of bounded curve

Description of the method ShapeConstruct_ProjectCurveOnSurface::Perform has been updated to actual state.
---
 .../ShapeConstruct_ProjectCurveOnSurface.cdl        | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cdl b/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cdl
index 914cc67808..20a35fb4df 100644
--- a/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cdl
+++ b/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cdl
@@ -99,14 +99,15 @@ is
     	    	    	 nbinterval : Integer = -1   )
     returns Boolean is virtual;
     	---Purpose: Computes the projection of 3d curve onto a surface using the 
-        --          standard algorithm from ProjLib. Returns False if standard
-	--          projector fails or raises an exception or cuts the curve by 
-	--          parametrical bounds of the surface. Else, if pcurve computed
-	--          successfully, returns True.
+        --          specialized algorithm. Returns False if projector fails,
+	--          otherwise, if pcurve computed successfully, returns True.
 	--          The continuity, maxdeg and nbinterval are parameters of call
 	--          to Approx_CurveOnSurface. If nbinterval is equal to -1 
         --          (default), this value is computed depending on source 3d curve
-	--          and surface.
+	--          and surface. The output curve 2D is guaranteed to be same-parameter
+        --          with input curve 3D on the interval [First, Last]. If the output curve
+        --          lies on a direct line the infinite line is returned, in the case
+        --          same-parameter condition is satisfied.
     	---Status: 
 	--          FAIL1 if the standard projector fails (no result)
 	--          FAIL2 if the standard projector raises an exception
@@ -140,7 +141,7 @@ is
 				c2d        : out Curve from Geom2d)
     returns Boolean;
         ---Purpose: Computes the projection of 3d curve onto a surface using 
-	--          either standard projector (method PerformByStandard()) or 
+	--          either standard projector (method PerformByProjLib()) or 
         --          internal one (method Perform()). The selection is done by 
 	--          analyzing the surface and 3d curve and is aimed to filter
 	--          the cases potentially dangerous for the standard projector.