---
name: "GEMLayout.cpp"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/GEMLayout.cpp"
---

# GEMLayout.cpp(3tulip)

## NAME

GEMLayout.cpp -

## SYNOPSIS

`#include <string>`\
 `#include <math.h>`\
 `#include 'GEMLayout.h'`\

### Variables

const char \* **paramHelp** \[\]\
 static const float **EDGELENGTH** = 10\
 static const float **EDGELENGTHSQR** = **EDGELENGTH** \* **EDGELENGTH**\
 static const float **MAXATTRACT** = 8192\
 static const float **IMAXTEMPDEF** = 1.0\
 static const float **ISTARTTEMPDEF** = 0.3\
 static const float **IFINALTEMPDEF** = 0.05\
 static const int **IMAXITERDEF** = 10\
 static const float **IGRAVITYDEF** = 0.05\
 static const float **IOSCILLATIONDEF** = 0.5\
 static const float **IROTATIONDEF** = 0.5\
 static const float **ISHAKEDEF** = 0.2\
 static const float **AMAXTEMPDEF** = 1.5\
 static const float **ASTARTTEMPDEF** = 1.0\
 static const float **AFINALTEMPDEF** = 0.02\
 static const int **AMAXITERDEF** = 3\
 static const float **AGRAVITYDEF** = 0.1\
 static const float **AOSCILLATIONDEF** = 1.\
 static const float **AROTATIONDEF** = 1.\
 static const float **ASHAKEDEF** = 0.3\

## Variable Documentation

### const float AFINALTEMPDEF = 0.02` [static]`

### const float AGRAVITYDEF = 0.1` [static]`

### const int AMAXITERDEF = 3` [static]`

### const float AMAXTEMPDEF = 1.5` [static]`

### const float AOSCILLATIONDEF = 1.` [static]`

### const float AROTATIONDEF = 1.` [static]`

### const float ASHAKEDEF = 0.3` [static]`

### const float ASTARTTEMPDEF = 1.0` [static]`

### const float EDGELENGTH = 10` [static]`

### const float EDGELENGTHSQR = EDGELENGTH \* EDGELENGTH` [static]`

### const float IFINALTEMPDEF = 0.05` [static]`

### const float IGRAVITYDEF = 0.05` [static]`

### const int IMAXITERDEF = 10` [static]`

### const float IMAXTEMPDEF = 1.0` [static]`

### const float IOSCILLATIONDEF = 0.5` [static]`

### const float IROTATIONDEF = 0.5` [static]`

### const float ISHAKEDEF = 0.2` [static]`

### const float ISTARTTEMPDEF = 0.3` [static]`

### const float MAXATTRACT = 8192` [static]`

### const char\* paramHelp\[\] Initial value:

```
 {
  HTML_HELP_OPEN()
  HTML_HELP_DEF( 'type', 'Boolean' )
  HTML_HELP_BODY()
  'If true the layout is in 3D else it is computed in 2D'
  HTML_HELP_CLOSE(),
  HTML_HELP_OPEN()
  HTML_HELP_DEF( 'type', 'DoubleProperty' )
  HTML_HELP_BODY()
  'This DoubleProperty is used to compute the length of edges.'
  HTML_HELP_CLOSE(),
  HTML_HELP_OPEN()
  HTML_HELP_DEF( 'type', 'LayoutProperty' )
  HTML_HELP_BODY()
  'The layout property used to compute the initial position of the graph elements. If none is given the initial position will be computed by the algorithm.'
  HTML_HELP_CLOSE(),
  HTML_HELP_OPEN()
  HTML_HELP_DEF( 'type', 'unsigned integer' )
  HTML_HELP_DEF( 'default', '0' )
  HTML_HELP_BODY()
  'This parameter allows to limit the number of iterations. The default value of 0 corresponds to 10 * nb_nodes * nb_nodes.'
  HTML_HELP_CLOSE(),
}
```

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
