[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
making basicSpace abstract
- To: <xtech>
- Subject: making basicSpace abstract
- From: Eric Dean Tribble <tribble>
- Date: Thu, 29 Mar 90 20:03:40 PST
BasicSpace is a concrete class that holds onto a category that tells
it what it's position type is. This makes CoordinateSpaces some kind
of confused combination of objects and types. They quickly fail at
representing types, because they can't participate properly in type
distinction mechansims (the type-converters, CHOOSE, etc).
I propose we make BasicSpace an abstract class. Each basic coordinate
space is a subclass of the abstract class. This way we can properly
implement the routines which verify OrderSpecs, Regions, and the like.
The basic space can also properly act as a type (because it has one!).
Is there any reason not to do this? I think this all works out fine
with Cross coordiante spaces, etc.