semvec/pypi-packages huggingface dataset:
commonroad-path-toolkit 0.0.1
Useful functions for working with paths
License: BSD
Requires Python: <3.13,>=3.8

# CommonRoad Path Toolkit

This package contains utility functions that are useful for computing geometrical properties.

## Instantiating a path

```python
from commonroad_path_toolkit import Path2D

# Either from a list of points or (n, 2) numpy array
path1 = Path2D(points=[[0, 0], [1, 0], [2, 1]])

# Or from seperated x and y coordinates (numpy arrays are allowed as well) 
path2 = Path2D(x=[0, 1, 2], y=[0, 0, 1])
```

## Documentation

See gitlab pages https://cps.pages.gitlab.lrz.de/commonroad/commonroad-path-toolkit

## Authors
- Kilian Northoff: kilian.northoff[at]tum.de