SEG: added SquaredLength() method

parent ac871702
...@@ -268,6 +268,12 @@ class SEG { ...@@ -268,6 +268,12 @@ class SEG {
return (a - b).EuclideanNorm(); return (a - b).EuclideanNorm();
} }
ecoord SquaredLength() const
{
return (a - b).SquaredEuclideanNorm();
}
/** /**
* Function Index() * Function Index()
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment