Merge Enums to general file

This commit is contained in:
2024-06-13 15:52:16 +02:00
parent 143a574235
commit d76f4aefa9
5 changed files with 24 additions and 23 deletions

View File

@@ -1,18 +0,0 @@
from enum import Enum
class LINE_OVERLAP(Enum):
NONE = 0
MAJOR = 1
MINOR = 2
class LINE_THICKNESS_MODE(Enum):
MIDDLE = 0
DRAW_COUNTERCLOCKWISE = 1
DRAW_CLOCKWISE = 2
class ROTATION(Enum):
CLOCKWISE = 0
COUNTERCLOCKWISE = 1

View File

@@ -1,7 +1,7 @@
import numpy as np
from typing import List
from math import atan2, sqrt
from networks.geometry.Enums import ROTATION
from Enums import ROTATION
class Point2D:

View File

@@ -1,5 +1,5 @@
from typing import List
from networks.geometry.Enums import LINE_OVERLAP, LINE_THICKNESS_MODE
from Enums import LINE_OVERLAP, LINE_THICKNESS_MODE
from networks.geometry.Point2D import Point2D
from math import sqrt

View File

@@ -1,5 +1,5 @@
from typing import List
from networks.geometry.Enums import LINE_OVERLAP
from Enums import LINE_OVERLAP
from networks.geometry.Point3D import Point3D