0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / IntTools / IntTools_TopolTool.cdl
CommitLineData
b311480e 1-- Created on: 2002-04-18
2-- Created by: Michael KLOKOV
973c2be1 3-- Copyright (c) 2002-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 7-- This library is free software; you can redistribute it and/or modify it under
8-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9-- by the Free Software Foundation, with special exception defined in the file
10-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
7fd59977 15
16class TopolTool from IntTools inherits TopolTool from Adaptor3d
17
18 ---Purpose: Class redefine methods of TopolTool from Adaptor3d
19 --- concerning sample points
20 ---
21uses
22 Pnt from gp,
23 Pnt2d from gp,
24 HSurface from Adaptor3d,
25 HArray1OfReal from TColStd
26
27raises DomainError from Standard
28
29is
6e33d3ce 30 Create returns TopolTool from IntTools;
7fd59977 31 ---Purpose:
32 --- Empty constructor
33 ---
34
35 Create(theSurface: HSurface from Adaptor3d)
6e33d3ce 36 returns TopolTool from IntTools;
7fd59977 37 ---Purpose:
38 --- Initializes me by surface
39 ---
40
41 Initialize(me: mutable)
42 is redefined;
43 ---Purpose:
44 --- Redefined empty initializer
45 ---
46 -- Warning:
47 --- Raises the exception NotImplemented
48 ---
49
50 Initialize(me: mutable; theSurface: HSurface from Adaptor3d)
51 is redefined;
52 ---Purpose:
53 --- Initializes me by surface
54 ---
55
56 --- sample points tools
57
58 ComputeSamplePoints(me: mutable)
59 is redefined;
60 ---Purpose:
61 ---
62 ---
63
64 NbSamplesU(me: mutable)
65 returns Integer from Standard
66 is redefined;
67 ---Purpose:
68 --- Computes the sample-points for the intersections algorithms
69 ---
70
71 NbSamplesV(me: mutable)
72 returns Integer from Standard
73 is redefined;
74 ---Purpose:
75 --- Computes the sample-points for the intersections algorithms
76 ---
77
78 NbSamples(me: mutable)
79 returns Integer from Standard
80 is redefined;
81 ---Purpose:
82 --- Computes the sample-points for the intersections algorithms
83 ---
84
85 SamplePoint(me: mutable; Index: Integer from Standard;
86 P2d : out Pnt2d from gp;
87 P3d : out Pnt from gp)
88 is redefined;
89 ---Purpose:
90 --- Returns a 2d point from surface myS
91 --- and a corresponded 3d point
92 --- for given index.
93 --- The index should be from 1 to NbSamples()
94 ---
95
96 --modified by NIZNHY-IFV Sep 28 16:01:38 2005 f
97 SamplePnts(me: mutable; theDefl: Real from Standard; theNUmin, theNVmin: Integer from Standard)
98 ---Purpose: compute the sample-points for the intersections algorithms
99 -- by adaptive algorithm for BSpline surfaces. For other surfaces algorithm
100 -- is the same as in method ComputeSamplePoints(), but only fill arrays of U
101 -- and V sample parameters;
102 -- theDefl is a requred deflection
103 -- theNUmin, theNVmin are minimal nb points for U and V.
104 is redefined;
105
106fields
107 --myS : HSurface from Adaptor3d; now inherits myS from Adaptor3d_TopolTool
108 myNbSmplU : Integer from Standard;
109 myNbSmplV : Integer from Standard;
110 myU0 : Real from Standard;
111 myV0 : Real from Standard;
112 myDU : Real from Standard;
113 myDV : Real from Standard;
114
115end TopolTool from IntTools;