Files
pybricks-api/pybricks/geometry.pyi
T
Laurens Valk a2583944d9 api/geometry: move Axis from parameters
This location makes more sense. Also drop Axis.ANY = None, which is more confusing than helpful. Instead, use relevant docstring to explain what None will do.
2021-01-04 17:25:15 +01:00

19 lines
419 B
Python

# SPDX-License-Identifier: MIT
# Copyright (c) 2020 The Pybricks Authors
from typing import Collection, Optional, Tuple
class Matrix:
def __init__(self, rows: Collection[int]): ...
@property
def T(self) -> Matrix: ...
@property
def shape(self) -> Tuple[int, int]: ...
def vector(x: float, y: float, z: Optional[float] = None) -> Matrix: ...
class Axis:
X: Matrix
Y: Matrix
Z: Matrix