1 -- Created on: 1993-12-06
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class BlendTool from BRepBlend
24 HCurve2d from Adaptor2d,
25 HSurface from Adaptor3d,
26 HVertex from Adaptor3d
30 Project(myclass; P: Pnt2d from gp;
31 S: HSurface from Adaptor3d ;
32 C: HCurve2d from Adaptor2d ;
33 Paramproj: out Real from Standard;
34 Dist: out Real from Standard)
36 ---Purpose: Projects the point P on the arc C.
37 -- If the methods returns Standard_True, the projection is
38 -- successful, and Paramproj is the parameter on the arc
39 -- of the projected point, Dist is the distance between
41 -- If the method returns Standard_False, Param proj and Dist
42 -- are not significant.
45 returns Boolean from Standard;
47 Inters (myclass; P1,P2: Pnt2d from gp;
48 S: HSurface from Adaptor3d ;
49 C: HCurve2d from Adaptor2d ;
50 Param: out Real from Standard;
51 Dist: out Real from Standard)
52 returns Boolean from Standard;
54 Parameter(myclass; V: HVertex from Adaptor3d; A: HCurve2d from Adaptor2d )
56 ---Purpose: Returns the parameter of the vertex V on the edge A.
59 returns Real from Standard;
62 Tolerance(myclass; V: HVertex from Adaptor3d; A: HCurve2d from Adaptor2d )
64 ---Purpose: Returns the parametric tolerance on the arc A
65 -- used to consider that the vertex and another point meet,
66 -- i-e if Abs(Parameter(Vertex)-Parameter(OtherPnt))<=
67 -- Tolerance, the points are "merged".
70 returns Real from Standard;
73 -- Methodes pour Rayon constant, en plus des 2 precedentes
76 SingularOnUMin(myclass; S:HSurface from Adaptor3d )
77 returns Boolean from Standard;
80 SingularOnUMax(myclass; S:HSurface from Adaptor3d )
81 returns Boolean from Standard;
84 SingularOnVMin(myclass; S:HSurface from Adaptor3d )
85 returns Boolean from Standard;
88 SingularOnVMax(myclass; S:HSurface from Adaptor3d )
89 returns Boolean from Standard;
92 NbSamplesU(myclass; S: HSurface from Adaptor3d ;
93 u1,u2: Real from Standard)
94 returns Integer from Standard;
96 NbSamplesV(myclass; S: HSurface from Adaptor3d ;
97 v1,v2: Real from Standard)
98 returns Integer from Standard;
101 Bounds(myclass; C: HCurve2d from Adaptor2d ;
102 Ufirst,Ulast: out Real from Standard);
104 ---Purpose: Returns the parametric limits on the arc C.
105 -- These limits must be finite : they are either
106 -- the real limits of the arc, for a finite arc,
107 -- or a bounding box for an infinite arc.
110 CurveOnSurf(myclass; C: HCurve2d from Adaptor2d ; S: HSurface from Adaptor3d )
112 returns HCurve2d from Adaptor2d ;