[Insight-developers] itkPoint itkVector additional methods
Luis Ibanez
ibanez@choroid.cs.unc.edu
Sat, 21 Jul 2001 14:51:48 -0400 (EDT)
According to what we discuss in the Tcon,...
itkVector has now a Normalize() method. it will divide
the components by the norm. no verification for zero is
done.
itkPoint has the following method:
- Point.SetToMedian( A, B) the calling point is set to
the median of the two points given as parameters
- Point.SetToBarycentricCombination( A, B, a )
the calling point is set to a*A + (1-a)*B
- Point.SetToBarycentricCombination( A, B, C, a, b )
the calling point is set to a*A+b*B+(1-a-b)*C
Luis