1 -- Created on: 1994-10-07
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 class ComputeApproxOnPolarSurface from ProjLib
28 HCurve from Adaptor3d,
29 HCurve2d from Adaptor2d,
30 HSurface from Adaptor3d,
31 BSplineCurve from Geom2d,
36 Create returns ComputeApproxOnPolarSurface from ProjLib;
38 Create(C : HCurve from Adaptor3d ;
39 S : HSurface from Adaptor3d ;
41 returns ComputeApproxOnPolarSurface from ProjLib;
43 -- Create(C : HCurve from Adaptor3d ;
44 -- S : HSurface from Adaptor3d)
45 ---purpose: pour etre en phase avec ProjOnSurf
46 -- returns ComputeApproxOnPolarSurface from ProjLib;
48 Create(InitCurve2d : HCurve2d from Adaptor2d ;
49 C : HCurve from Adaptor3d ;
50 S : HSurface from Adaptor3d ;
52 returns ComputeApproxOnPolarSurface from ProjLib;
54 Create(InitCurve2d : HCurve2d from Adaptor2d ;
55 InitCurve2dBis : HCurve2d from Adaptor2d ;
56 C : HCurve from Adaptor3d ;
57 S : HSurface from Adaptor3d ;
59 returns ComputeApproxOnPolarSurface from ProjLib;
61 Perform(me : in out ; InitCurve2d : HCurve2d from Adaptor2d;
62 C : HCurve from Adaptor3d ;
63 S : HSurface from Adaptor3d )
64 returns BSplineCurve from Geom2d;
66 BuildInitialCurve2d(me : in out ; Curve : HCurve from Adaptor3d ;
67 S : HSurface from Adaptor3d )
68 returns HCurve2d from Adaptor2d;
70 ProjectUsingInitialCurve2d(me : in out ; Curve : HCurve from Adaptor3d ;
71 S : HSurface from Adaptor3d ;
72 InitCurve2d : HCurve2d from Adaptor2d )
73 returns BSplineCurve from Geom2d;
75 BSpline(me) returns BSplineCurve from Geom2d ;
77 Curve2d(me) returns Curve from Geom2d ;
79 IsDone(me) returns Boolean from Standard;
83 myProjIsDone : Boolean from Standard;
84 myTolerance : Real from Standard;
85 myBSpline : BSplineCurve from Geom2d ;
86 my2ndCurve : Curve from Geom2d ;
87 -- myInitCurve2d : HCurve2d from Adaptor3d;
89 end ComputeApproxOnPolarSurface;