From: msv Date: Fri, 8 May 2015 12:44:48 +0000 (+0300) Subject: 0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded... X-Git-Tag: V6_9_1_beta~132 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=24b4a814bf7ef8598cfe90fab9371fdef8d17008;p=occt-copy.git 0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded curve Description of the method ShapeConstruct_ProjectCurveOnSurface::Perform has been updated to actual state. --- 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.