7fd59977 |
1 | -- File: StdPrs_WFDeflectionSurface.cdl |
2 | -- Created: Mon Jul 24 17:20:11 1995 |
3 | -- Author: Modelistation |
4 | -- <model@metrox> |
5 | ---Copyright: Matra Datavision 1995 |
6 | |
7 | |
8 | class WFDeflectionSurface from StdPrs |
9 | |
10 | inherits Root from Prs3d |
11 | --- Purpose: Draws a surface by drawing the isoparametric curves with respect to |
12 | -- a maximal chordial deviation. |
13 | -- The number of isoparametric curves to be drawn and their color are |
14 | -- controlled by the furnished Drawer. |
15 | |
16 | uses |
17 | HSurface from Adaptor3d, |
18 | Curve from Adaptor3d, |
19 | Presentation from Prs3d, |
20 | Drawer from Prs3d |
21 | is |
22 | |
23 | |
24 | |
25 | Add(myclass; aPresentation: Presentation from Prs3d; |
26 | aSurface : HSurface from Adaptor3d; |
27 | aDrawer : Drawer from Prs3d); |
28 | ---Purpose: Adds the surface aSurface to the presentation object |
29 | -- aPresentation, and defines its boundaries and isoparameters. |
30 | -- The shape's display attributes are set in the attribute |
31 | -- manager aDrawer. These include whether deflection |
32 | -- is absolute or relative to the size of the shape. |
33 | -- The surface aSurface is a surface object from |
34 | -- Adaptor, and provides data from a Geom surface. |
35 | -- This makes it possible to use the surface in a geometric algorithm. |
36 | -- Note that this surface object is manipulated by handles. |
37 | end WFDeflectionSurface from StdPrs; |
38 | |
39 | |
40 | |