0024157: Parallelization of assembly part of BO
[occt.git] / src / DrawTrSurf / DrawTrSurf_BezierSurface.cdl
CommitLineData
b311480e 1-- Created on: 1992-05-22
2-- Created by: Jean Claude VAUTHIER
3-- Copyright (c) 1992-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
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.
10--
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.
13--
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.
20
7fd59977 21
22
23class BezierSurface
24
25from DrawTrSurf
26
27inherits Surface from DrawTrSurf
28
29uses BezierSurface from Geom,
30 Color from Draw,
31 MarkerShape from Draw,
32 Display from Draw,
33 Drawable3D from Draw
34
35is
36
37
38 Create (S : BezierSurface from Geom)
39 --- Purpose :
40 -- creates a drawable Bezier curve from a Bezier curve of
41 -- package Geom.
42 returns mutable BezierSurface from DrawTrSurf;
43
44
45
46 Create (S : BezierSurface from Geom;
47 NbUIsos, NbVIsos : Integer;
48 BoundsColor, IsosColor, PolesColor : Color from Draw;
49 ShowPoles : Boolean; Discret : Integer;Deflection : Real;
50 DrawMode : Integer)
51 returns mutable BezierSurface from DrawTrSurf;
52
53
54 DrawOn (me; dis : in out Display from Draw)
55 is redefined static;
56
57
58 ShowPoles (me : mutable)
59 is static;
60
61
62 ClearPoles (me : mutable)
63 is static;
64
65
66 FindPole(me; X,Y : Real; D : Display from Draw; Prec : Real;
67 UIndex, VIndex : in out Integer)
68 is static;
69
70
71 SetPolesColor (me : mutable; aColor : Color from Draw)
72 ---C++: inline
73 is static;
74
75
76 PolesColor (me) returns Color from Draw
77 ---C++: inline
78 is static;
79
80 Copy(me) returns mutable Drawable3D from Draw
81 ---Purpose: For variable copy.
82 is redefined;
83
84
85fields
86
87 drawPoles : Boolean;
88 polesLook : Color from Draw;
89
90end BezierSurface;