# DistanceList

> Class

Inheritance

* [object](https://learn.microsoft.com/dotnet/api/system.object)
* DistanceList

***

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\))

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

***

Namespace: UnityEngine.Pixyz.Geom

```csharp
[Serializable]
public class DistanceList
```

## Constructors

### DistanceList()

```csharp
public DistanceList()
```

### DistanceList(double\[])

```csharp
public DistanceList(double[] tab)
```

Parameters

| Type                                                               | Name | Description |
| ------------------------------------------------------------------ | ---- | ----------- |
| [double\[\]](https://learn.microsoft.com/dotnet/api/system.double) | tab  |             |

### DistanceList(int)

```csharp
public DistanceList(int size)
```

Parameters

| Type                                                       | Name | Description |
| ---------------------------------------------------------- | ---- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | size |             |

## Fields

### length

```csharp
public int length { get; }
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### this\[int]

```csharp
public double this[int index] { get; set; }
```

Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [double](https://learn.microsoft.com/dotnet/api/system.double) |             |

### list

```csharp
public double[] list
```

Returns

| Type                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [double\[\]](https://learn.microsoft.com/dotnet/api/system.double) |             |

## Operators

### implicit operator double\[]\(DistanceList)

```csharp
public static implicit operator double[](DistanceList o)
```

Parameters

| Type                                | Name | Description |
| ----------------------------------- | ---- | ----------- |
| [DistanceList](./geom_distancelist) | o    |             |

Returns

| Type                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [double\[\]](https://learn.microsoft.com/dotnet/api/system.double) |             |
