TranslationComponent¶
- class kgpy.optics.component.TranslationComponent(name=<factory>, plot_kwargs=<factory>, translation=<factory>, translation_error=<factory>)¶
Bases:
Component[SurfaceT]- __init__(name=<factory>, plot_kwargs=<factory>, translation=<factory>, translation_error=<factory>)¶
Attributes
Methods
__init__([name, plot_kwargs, translation, ...])copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
plot(ax[, components, component_z, ...])Inheritance Diagram
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- plot(ax, components=('x', 'y'), component_z=None, plot_kwargs=None, transform_extra=None, to_global=False, plot_annotations=True, annotation_text_y=1.05)¶
- name: Name¶
- plot_kwargs: typ.Dict[str, typ.Any]¶
- property surface: SurfaceT¶
- property transform: TransformList¶
-
translation:
kgpy.transform.rigid.Translate¶
-
translation_error:
kgpy.transform.rigid.Translate¶