Gave lib.math.length overloaded versions which mix objects and [x,y] points.