As "primitive" types, Position and BoundingBox would be better represented as value classes that wrap their underlying DoubleArray.
This change is currently blocked by the inability to override the equals() method on value classes which is required in order to implement proper equality checks that compare the DoubleArrays.
As "primitive" types,
Position
andBoundingBox
would be better represented asvalue
classes that wrap their underlyingDoubleArray
.This change is currently blocked by the inability to override the
equals()
method onvalue
classes which is required in order to implement proper equality checks that compare theDoubleArray
s.