from collections import OrderedDict, Mapping
+from .geometry import GeometricObject
from .linexprs import Symbol
yield symbol, func(coordinate1, coordinate2)
-class Point(Coordinates):
+class Point(Coordinates, GeometricObject):
"""
This class represents points in space.
"""
This class represents displacements in space.
"""
- __slots__ = (
- '_coordinates',
- )
-
def __new__(cls, initial, terminal=None):
if not isinstance(initial, Point):
initial = Point(initial)