Skip to content

让实验支持自定义坐标系 #95

@SekaiArendelle

Description

@SekaiArendelle
e.g.

class CoordinateSystem:
    def local_to_custom_position(element: CircuitElementBase):
        ...
    def custom_position_to_local(element: CircuitElementBase):
        ...

基础的接口就是这两个,physicsLab会调用这2个接口,然后CoordinateSystem也可以提供更多的接口(比如动态设置原点坐标啊之类的)给用户调用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions