manimgeo.components.vector.adapter module¶
- class manimgeo.components.vector.adapter.VectorAdapter(**data)[源代码]¶
基类:
GeometryAdapter[VectorConstructArgs]- vec: np.ndarray¶
- norm: Number¶
- unit_direction: np.ndarray¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].