Skip to content

Seperation or removal of GUI #81

@Brandhoej

Description

@Brandhoej

The Location class contains coordinates which are expected to be used by the GUI. Looking at Reveaal it looks like the verification engine does not consider coordinates, but when parsing, a DummyLocation is used with constant coordinates. I think our Location class should not contain the coordinates for the GUI. As our protobuf specification states that the complete XML or JSON is transferred. We should not change the values of the locations when doing verification. We should instead ignore the coordinates and utilize save-component to allow the GUI to save the new coordinates of the locations. When creating a composed location (e.g. when doing conjunction) we should not calculate the new coordinates as the average, but instead tackle this issue when we need to display the result of a conjunction. For these reasons I think we should completely remove the coordinates from the Location. If we choose to have the coordinates in Location then I think a new class such as Position or Vector (A vector is often used to represent the position of an object) should be used to encapsulate the coordinates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions