
On Fri, 5 Oct 2007, Michael Fawcett wrote:
On 10/5/07, John Femiani <JOHN.FEMIANI@asu.edu> wrote:
Sounds great to me. Can or should we formalize this into a set of concepts specific to points? Coordinate access is only a part of what a point rewuires; There is the tricky relationship between points and vectors (not std::vector!) and homogenous coordinates.
I.e. point+point is undefined, point-point is a vector, etc...
This has been the source of quite a bit of contention in the past. The problem is, there are scientific users and applications where the distinction is highly important, and then there are game developers (and others I'm sure) who frequently mix both for optimization tricks and compatibility with the graphics API.
If you can provide the distinction with no run-time overhead, and a no-overhead conversion to and from, I think both parties would sign off on it.
IIRC CGAL handles this quite nicely. http://www.tiny.cc/kbp7Z -- Francois Duranleau