# Mapping class

Namespace: [Grasshopper2.Data.Mapping](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.data.mapping.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Mapping
```

Represents the mapping from a specific path topology to another.

## Constructors

- [Mapping](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/ctor.md): (2 overloads) Create a new mapping.

## Fields

- [MappingOperatorLong](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/mappingoperatorlong.md): (static) Defines the mapping operator that is easily typed by humans.
- [MappingOperatorShort](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/mappingoperatorshort.md): (static) Defines the mapping operator that is used during formatting.

## Properties

- [Source](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/source.md): Gets the source map.
- [Target](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/target.md): Gets the target map.

## Methods

- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.mapping.mapping/tostring.md): Gets the string representation of this mapping.
