SEG: added SquaredLength() method

This commit is contained in:
tomasz.wlostowski@cern.ch 2013-09-13 15:25:03 +02:00
parent ac871702ce
commit 7b0531fdd1
1 changed files with 6 additions and 0 deletions

View File

@ -268,6 +268,12 @@ class SEG {
return (a - b).EuclideanNorm();
}
ecoord SquaredLength() const
{
return (a - b).SquaredEuclideanNorm();
}
/**
* Function Index()
*