blob: e685d5390b4bf2b8713dc28e3c1d867d292dd7d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-- File: ProjLib_ProjectOnSurface.cdl
-- Created: Thu Sep 15 15:35:59 1994
-- Author: Bruno DUMORTIER
-- <dub@fuegox>
---Copyright: Matra Datavision 1994
class ProjectOnSurface from ProjLib
uses
HCurve from Adaptor3d,
HSurface from Adaptor3d,
BSplineCurve from Geom
is
Create
---Purpose: Create an empty projector.
returns ProjectOnSurface from ProjLib;
Create( S : HSurface from Adaptor3d)
---Purpose: Create a projector normaly to the surface <S>.
returns ProjectOnSurface from ProjLib;
Delete(me:out) is virtual;
---C++: alias "Standard_EXPORT virtual ~ProjLib_ProjectOnSurface(){Delete() ; }"
Load(me : in out; S : HSurface from Adaptor3d)
---Purpose: Set the Surface to <S>.
-- To compute the projection, you have to Load the Curve.
is static;
Load(me : in out; C : HCurve from Adaptor3d; Tolerance : Real)
---Purpose: Compute the projection of the curve <C> on the Surface.
is static;
IsDone(me) returns Boolean ;
BSpline(me) returns BSplineCurve from Geom
is static ;
fields
myCurve : HCurve from Adaptor3d ;
mySurface : HSurface from Adaptor3d ;
myTolerance : Real ;
myIsDone : Boolean ;
myResult : BSplineCurve from Geom ;
end ProjectOnSurface;
|