---
title: "Vec2D"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

A vector in 2D space.


## Arrow datatype
```
FixedSizeList(2 x non-null Float32)
```

## API reference links
 * 🌊 [C++ API docs for `Vec2D`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1datatypes_1_1Vec2D.html)
 * 🐍 [Python API docs for `Vec2D`](https://ref.rerun.io/docs/python/stable/common/datatypes#rerun.datatypes.Vec2D)
 * 🦀 [Rust API docs for `Vec2D`](https://docs.rs/rerun/latest/rerun/datatypes/struct.Vec2D.html)


## Used by

* [`HalfSize2D`](../components/half_size2d.md)
* [`LineStrip2D`](../components/line_strip2d.md)
* [`Position2D`](../components/position2d.md)
* [`Resolution`](../components/resolution.md)
* [`Texcoord2D`](../components/texcoord2d.md)
* [`Vector2D`](../components/vector2d.md)
