manimgeo.components.vector.args module¶
- class manimgeo.components.vector.args.PPArgs(**data)[源代码]¶
-
- construct_type: Literal['PP']¶
- start: Point¶
- end: Point¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class manimgeo.components.vector.args.LArgs(**data)[源代码]¶
-
- construct_type: Literal['L']¶
- line: LineSegment¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class manimgeo.components.vector.args.NArgs(**data)[源代码]¶
-
- construct_type: Literal['N']¶
- vec: 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].
- class manimgeo.components.vector.args.NPPArgs(**data)[源代码]¶
-
- construct_type: Literal['NPP']¶
- start: np.ndarray¶
- end: 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].
- class manimgeo.components.vector.args.NNormDirectionArgs(**data)[源代码]¶
-
- construct_type: Literal['NNormDirection']¶
- norm: Number¶
- 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].
- class manimgeo.components.vector.args.AddVVArgs(**data)[源代码]¶
-
- construct_type: Literal['AddVV']¶
- vec1: Vector¶
- vec2: Vector¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class manimgeo.components.vector.args.SubVVArgs(**data)[源代码]¶
-
- construct_type: Literal['SubVV']¶
- vec1: Vector¶
- vec2: Vector¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class manimgeo.components.vector.args.MulNVArgs(**data)[源代码]¶
-
- construct_type: Literal['MulNV']¶
- factor: Number¶
- vec: Vector¶
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].