the thing is that the Point will need the same functions as the Vector has and sometimes you have to move the Point in the Vector direction, so they need to interact anyway.
Dina Schneidman wrote:Right - because currently it lives under kernel/doc, which you don't
> It looks like I don't have permissions to commit into this patch folder.
have write permissions for. I will move it somewhere with less
restrictive permissions.
I don't think VectorD is the best place for such methods, since vectors
> so I attached my patch that computes distance between two vectors.
are designed primarily for use as distances, not as points, hence the
presence of distance-like methods such as the scalar product. However,
there are a couple of places in the code where Vectors are used to
represent points. Perhaps a separate Point class would be a cleaner
interface though. Opinions?
Ben
--
ben@salilab.org http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle
_______________________________________________
IMP-dev mailing list
IMP-dev@salilab.org
https://salilab.org/mailman/listinfo/imp-dev