# Cylinder

> Class

Inheritance

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

***

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.Algo

```csharp
[Serializable]
public class Cylinder
```

## Constructors

### Cylinder()

```csharp
public Cylinder()
```

### Cylinder(Cylinder)

```csharp
public Cylinder(Cylinder o)
```

Parameters

| Type                        | Name | Description |
| --------------------------- | ---- | ----------- |
| [Cylinder](./algo_cylinder) | o    |             |

## Fields

### position

```csharp
public Affine position
```

Returns

| Type                    | Description |
| ----------------------- | ----------- |
| [Affine](./geom_affine) |             |

### radius

```csharp
public double radius
```

Returns

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

### length

```csharp
public double length
```

Returns

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