~tweenk/lib2geom/master

Viewing all changes in revision 2504.

  • Committer: Krzysztof Kosiński
  • Date: 2016-02-15 08:42:27 UTC
  • Revision ID: git-v1:e7245a01127647cd20b0d851a0a622d9ded38d23
Revert to the previous meaning of Line::versor() and Ray::versor().

By definition, a "versor" is a normalized vector. Restore the previous
behavior of versor() for Line and Ray, and introduce a new method called
vector() which returns the unnormalized difference between initial
and final point.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: