PIGALE 1.3.9 Documentation (original) (raw)
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor
H. de Fraysseix P. Ossona de Mendez
Test.cpp File Reference
Detailed Description
used to add custom functions
This file allow a user to write his own functions: test1, test2, test3. These functions takes as argument:
GraphContainer &GC a reference on the current GraphContainer
int &drawing which can specify a drawing function defines in pigalePaint.cpp
The return value tells Pigale what to do after the completion of the function:
-1:error 0:(No-Redraw,No-Info) 1:(Redraw,No-Info) 2:(Redraw,Info) 20:(Update drawing,Info)
3:(Drawing) 4:(3d) 5:symetrie 6-7-8:Springs Embedders
The initMenuTest() allows the user to set the names of his functions in the main menu.

Functions
- double abs (double x)
- static int Test1 (GraphContainer &GC, int &drawing)
- static int Test2 (GraphContainer &GC, int &drawing)
- static int Test3 (GraphContainer &GC, int &drawing)
- int Test (GraphContainer &GC, int action, int &drawing)
Function Documentation
| double abs | ( | double | x | ) | [inline] |
|---|
