geom API documentation
Project documentation Docs

File: pygeom/__init__.py

1# --------------------------------------------------------------------------------------------------2# SPDX-License-Identifier: Apache-2.03# SPDX-FileCopyrightText: 2026 cpdocs developers4# --------------------------------------------------------------------------------------------------5"""Python bindings of the geometry library."""6 7 8def dot(a: tuple[float, float, float], b: tuple[float, float, float]) -> float:9    """Dot product of two 3-tuples."""10    return sum(x * y for x, y in zip(a, b, strict=True))