Commit Graph

13 Commits

Author SHA1 Message Date
Paolo Cignoni 3bdf666e86 Changed the interface of the interpolating function of a segment (2D and 3D) from the ambiguous P(float) to Lerp(float). Note that with the previous interface it could happen that seg.P(1) != seg.P0() just becouse seg.P(1) was the result of a lerp. 2013-11-06 16:06:57 +00:00
Paolo Cignoni c059114300 Orthography lenght -> length 2012-10-08 09:05:11 +00:00
Paolo Cignoni 7537b20933 Added a NormalizedDirection method 2012-05-05 14:54:45 +00:00
Paolo Cignoni a53887e893 added operator [] and function Direction() 2012-01-18 16:45:50 +00:00
Nico Pietroni 793cf46180 - SquaredDistance moved to distance3.h
- Lenght and SquaredLength changed to const functions
2010-10-15 15:16:32 +00:00
Paolo Cignoni 2ebecdde24 Added method that computes the minimum distance between a segment and a point 2007-06-12 15:40:41 +00:00
Paolo Cignoni 8bfbf1111d Changes for compilation on linux AMD64. Some remarks: Linux filenames are case-sensitive. _fileno and _filelength do not exist on linux 2006-06-06 14:35:32 +00:00
Nico Pietroni 0c0e9044cf compiled and corrected ClosestPoint function 2006-03-07 16:39:38 +00:00
Federico Ponchio 65c81124dd SegmentType -> Segment3 in constructor (g++ complained) 2004-05-13 23:39:47 +00:00
ganovelli c69a02d71d return type of length and squaredlength corrected 2004-05-08 14:07:50 +00:00
mtarini f36d1e007a minor updates, corrections, added documentations, etc. 2004-03-11 11:47:20 +00:00
mtarini 86e23fb5d4 smaller update 2004-03-09 19:29:52 +00:00
mtarini 43f74f4627 First Version (tarini) 2004-03-08 19:46:47 +00:00