manimgeo.components.base.base_adapter module

class manimgeo.components.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

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.base.base_adapter.GeometryAdapter(**data)[源代码]

基类:BaseModelN, Generic[_ArgsModelT]

几何对象参数适配器基类

args: _ArgsModelT
property construct_type: str
bind_attributes(target, attrs)[源代码]

将适配器计算得到的参数绑定到几何对象

  • target: 目标几何对象

  • attrs: 需要绑定的属性列表

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'frozen': False}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].