Hello team, I know this might be a small thing and yes, I can implement it myself, but would be nice to have
ON_3fPoint::SquaredDistanceTo. In many case in the code you might need to compare only the distances and lengths, while not worried about the actual value. For example
if ( v.DistanceTo(v) <= v.DistanceTo(v) )
In this case sqrt() will be called twice, while it is not needed.
I know this sounds small thing, but when you do high performance evaluation, this may help a little bit. It is 5 minutes of coding and having such function doesn’t hurt