]> SALOME platform Git repositories - samples/sierpinsky.git/blob - idl/Sierpinsky.idl
Salome HOME
a9816f251a6b9dcee842efdc394a1340f8701dfd
[samples/sierpinsky.git] / idl / Sierpinsky.idl
1 ///////////////////////////////////////////////////////////
2 // File    : Sierpinsky.idl
3 // Author  : Vadim SANDLER (OCN)
4 // Created : 13/07/05
5 // Copyright (C) 2005 Open CASCADE
6 ///////////////////////////////////////////////////////////
7
8 #ifndef __SIERPINSKY_IDL
9 #define __SIERPINSKY_IDL
10
11 #include "SALOME_Component.idl"
12
13 module SIERPINSKY_ORB {
14
15   interface SIERPINSKY : Engines::Component {
16
17     // Initializes engine with three reference points
18     void Init( in double X1, in double Y1, in double X2, in double Y2, in double X3, in double Y3 );
19
20     // Initializes engine with three default reference points: (0.5, 1), (0, 0), (1, 0)
21     void Reset();
22
23     // Generates next iteration point
24     void NextPoint( in double X, in double Y, in long iter, out double nextX, out double nextY );
25
26     // Exports data to the JPEG image
27     boolean ExportToJPEG( in string fileName, in long size );
28
29     // Exports data to the MED file
30     boolean ExportToMED( in string fileName, in double size );
31
32   };
33
34 };
35
36 #endif // __SIERPINSKY_IDL