# GH_Line struct

Namespace: [GH_IO.Types](https://developer.rhino3d.com/api/gh1/namespace/gh-io.types.md) · Assembly: [GH_IO](https://developer.rhino3d.com/api/gh1/assembly/gh-io.md)

```cs
public struct GH_Line
```

Represents a 3D line segment, denoted by start and endpoints.

## Constructors

- [GH_Line](https://developer.rhino3d.com/api/gh1/type/gh-io.types.gh-line/ctor.md): (2 overloads) Constructor.

## Fields

- [A](https://developer.rhino3d.com/api/gh1/type/gh-io.types.gh-line/a.md): Start of line.
- [B](https://developer.rhino3d.com/api/gh1/type/gh-io.types.gh-line/b.md): End of line.

## Methods

- [ToString](https://developer.rhino3d.com/api/gh1/type/gh-io.types.gh-line/tostring.md): Converts this structure to a human-readable string.
