---
name: "sizes_MetricMapping.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/sizes_MetricMapping.cpp"
---

# sizes\_MetricMapping.cpp(3tulip)

## NAME

MetricMapping.cpp -

## SYNOPSIS

`#include <cmath>`\
 `#include <tulip/TulipPlugin.h>`\

### Classes

class **MetricSizeMapping**\
 *Metric Mapping - Compute size of elements according to a metric.*

### Functions

**SIZEPLUGIN** (**MetricSizeMapping**,'Metric Mapping','Auber','08/08/2003','','1.0')\

### Variables

static const char \* **rangeSizeErrorMsg** = 'max **size** must be greater than min **size**'\
 static const char \* **rangeMetricErrorMsg** = 'All values are the same'\

## Function Documentation

### SIZEPLUGIN (MetricSizeMapping, 'Metric Mapping', 'Auber', '08/08/2003', '', '1.0')

## Variable Documentation

### const char\* rangeMetricErrorMsg = 'All values are the same'` [static]`

### const char\* rangeSizeErrorMsg = 'max size must be greater than min size'` [static]`

## Author

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