manimgeo.components.line.adapter module

class manimgeo.components.line.adapter.LineAdapter(**data)[源代码]

基类:GeometryAdapter[LineConstructArgs]

start: np.ndarray
end: np.ndarray
length: 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].