mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Geometry: Minor change.
This commit is contained in:
1 parent
52c4eec72a
commit
fcc31f22e7
2 files changed
+26
-20
No files matched your search
@@ -1,5 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from Model.Except import NotImplementedMethodeError
|
||||
|
||||
class Profile(object):
|
||||
def __init__(self, num: int = 0,
|
||||
kp:float = 0.0, name:str = "",
|
||||
@@ -102,3 +104,7 @@ class Profile(object):
|
||||
"""
|
||||
return [point for point in self._points
|
||||
if point.point_is_named()]
|
||||
|
||||
# Abstract method, must be implemented for in non abstract class
|
||||
def get_station(self):
|
||||
raise NotImplementedMethodeError(self, self.get_station)
|
||||
Reference in new issue
Block a user