Skip to content

Commit

Permalink
Add type hints for StaticTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderFabisch committed Jul 20, 2023
1 parent 4e88f6b commit 14c1d5c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pytransform3d/transform_manager/_temporal_transform_manager.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ class TimeVaryingTransform(abc.ABC):
def check_transforms(self) -> "TimeVaryingTransform": ...


class StaticTransform(TimeVaryingTransform):
_A2B: npt.ArrayLike

def __init__(self, A2B: npt.ArrayLike) -> "StaticTransform": ...

def as_matrix(self, time: float) -> np.ndarray: ...

def check_transforms(self) -> "StaticTransform": ...


class TemporalTransformManager(TransformGraphBase):
_transforms: Dict[Tuple[Hashable, Hashable], TimeVaryingTransform]
_current_time: float
Expand Down

0 comments on commit 14c1d5c

Please sign in to comment.