---
title: "Point2d"
subtitle: "Type in std::types"
excerpt: "A point in two dimensional space."
layout: manual
---

A point in two dimensional space.

```kcl
type Point2d = [number(Length); 2]
```

[`Point2d`](/docs/kcl-std/types/std-types-Point2d) is an alias for a two-element array of [number](/docs/kcl-std/types/std-types-number)s. To write a value
with type [`Point2d`](/docs/kcl-std/types/std-types-Point2d), use an array, e.g., `[0, 0]` or `[5.0, 3.14]`.



