testEquals static method

bool testEquals(
  1. Box box1,
  2. Box box2
)

True if box1 and box2 equals by testing all coordinate values.

Implementation

static bool testEquals(Box box1, Box box2) =>
    box1.minX == box2.minX &&
    box1.minY == box2.minY &&
    box1.minZ == box2.minZ &&
    box1.minM == box2.minM &&
    box1.maxX == box2.maxX &&
    box1.maxY == box2.maxY &&
    box1.maxZ == box2.maxZ &&
    box1.maxM == box2.maxM;