Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "liblrs"
version = "0.4.0"
version = "0.4.1"
edition = "2024"
description = "Library to manipulate linear referencing systems"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "liblrs_python"
description = "Python bindings for liblrs: a library to work with linear referencing systems"
version = "0.4.0"
version = "0.4.1"
edition = "2024"
license = "MIT"
repository = "https://github.com/OpenRailAssociation/liblrs/"
Expand Down
9 changes: 9 additions & 0 deletions python/liblrs_python.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ class Lrs:
"""
...

def lookup_lrms(self, point:Point) -> list<LrmProjection>:
r"""
Projects a [`Point`] on all applicable [`Traversal`]s nearby.
The [`Point`] must be in the bounding box of the [`Curve`] of the [`Traversal`].
The result is sorted by `orthogonal_offset`: the nearest [`Lrm`] to the [`Point`] is the first item.
"""
...


def lrs_properties(self) -> dict[str, str]:
r"""
[`Properties`] of the lrs
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "liblrs_python"
version = "0.4.0"
version = "0.4.1"
requires-python = ">=3.12"
dependencies = ["pip>=25.2"]

Expand Down
2 changes: 1 addition & 1 deletion wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "liblrs-wasm"
version = "0.4.0"
version = "0.4.1"
edition = "2024"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"text-encoding": "^0.7.0"
},
"name": "liblrs",
"version": "0.4.0",
"version": "0.4.1",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenRailAssociation/liblrs.git"
Expand Down