0023948: Wrong intersection between a surface of revolution and a plane.
[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
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class BezierSurface
18
19from DrawTrSurf
20
21inherits Surface from DrawTrSurf
22
23uses BezierSurface from Geom,
24 Color from Draw,
25 MarkerShape from Draw,
26 Display from Draw,
27 Drawable3D from Draw
28
29is
30
31
32 Create (S : BezierSurface from Geom)
33 --- Purpose :
34 -- creates a drawable Bezier curve from a Bezier curve of
35 -- package Geom.
6e33d3ce 36 returns BezierSurface from DrawTrSurf;
7fd59977 37
38
39
40 Create (S : BezierSurface from Geom;
41 NbUIsos, NbVIsos : Integer;
42 BoundsColor, IsosColor, PolesColor : Color from Draw;
43 ShowPoles : Boolean; Discret : Integer;Deflection : Real;
44 DrawMode : Integer)
6e33d3ce 45 returns BezierSurface from DrawTrSurf;
7fd59977 46
47
48 DrawOn (me; dis : in out Display from Draw)
49 is redefined static;
50
51
52 ShowPoles (me : mutable)
53 is static;
54
55
56 ClearPoles (me : mutable)
57 is static;
58
59
60 FindPole(me; X,Y : Real; D : Display from Draw; Prec : Real;
61 UIndex, VIndex : in out Integer)
62 is static;
63
64
65 SetPolesColor (me : mutable; aColor : Color from Draw)
66 ---C++: inline
67 is static;
68
69
70 PolesColor (me) returns Color from Draw
71 ---C++: inline
72 is static;
73
6e33d3ce 74 Copy(me) returns Drawable3D from Draw
7fd59977 75 ---Purpose: For variable copy.
76 is redefined;
77
78
79fields
80
81 drawPoles : Boolean;
82 polesLook : Color from Draw;
83
84end BezierSurface;