SEG: added SquaredLength() method
This commit is contained in:
parent
ac871702ce
commit
7b0531fdd1
|
@ -267,6 +267,12 @@ class SEG {
|
|||
{
|
||||
return (a - b).EuclideanNorm();
|
||||
}
|
||||
|
||||
ecoord SquaredLength() const
|
||||
{
|
||||
return (a - b).SquaredEuclideanNorm();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Function Index()
|
||||
|
|
Loading…
Reference in New Issue