@Override public boolean equals(Object o) { if (!(o instanceof dXYdZSolid)) return false; dXYdZSolid other = (dXYdZSolid) o; if (!super.equals(other) || surfacePoints.length != other.surfacePoints.length ) { return false; } for (int i = 0; i < surfacePoints.length; i++) { if (!surfacePoints[i].equals(other.surfacePoints[i])) return false; } return true; }
@Override public boolean equals(Object o) { if (!(o instanceof dXdYdZSolid)) return false; dXdYdZSolid other = (dXdYdZSolid) o; if (!super.equals(other) || other.isOnSurface != isOnSurface) { return false; } if (isOnSurface) { return other.thePoint.equals(thePoint); } return true; }
@Override public boolean equals(Object o) { if (!(o instanceof XdYdZSolid)) return false; XdYdZSolid other = (XdYdZSolid) o; if (!super.equals(other) || surfacePoints.length != other.surfacePoints.length ) { return false; } for (int i = 0; i < surfacePoints.length; i++) { if (!surfacePoints[i].equals(other.surfacePoints[i])) return false; } return true; }
@Override public boolean equals(Object o) { if (!(o instanceof dXdYZSolid)) return false; dXdYZSolid other = (dXdYZSolid) o; if (!super.equals(other) || surfacePoints.length != other.surfacePoints.length ) { return false; } for (int i = 0; i < surfacePoints.length; i++) { if (!surfacePoints[i].equals(other.surfacePoints[i])) return false; } return true; }
@Override public boolean equals(Object o) { if (!(o instanceof XdYZSolid)) return false; XdYZSolid other = (XdYZSolid) o; if (!super.equals(other)) { return false; } return other.minXPlane.equals(minXPlane) && other.maxXPlane.equals(maxXPlane) && other.yPlane.equals(yPlane) && other.minZPlane.equals(minZPlane) && other.maxZPlane.equals(maxZPlane); }
@Override public boolean equals(Object o) { if (!(o instanceof XYdZSolid)) return false; XYdZSolid other = (XYdZSolid) o; if (!super.equals(other)) { return false; } return other.minXPlane.equals(minXPlane) && other.maxXPlane.equals(maxXPlane) && other.minYPlane.equals(minYPlane) && other.maxYPlane.equals(maxYPlane) && other.zPlane.equals(zPlane); }
@Override public boolean equals(Object o) { if (!(o instanceof dXYZSolid)) return false; dXYZSolid other = (dXYZSolid) o; if (!super.equals(other)) { return false; } return other.xPlane.equals(xPlane) && other.minYPlane.equals(minYPlane) && other.maxYPlane.equals(maxYPlane) && other.minZPlane.equals(minZPlane) && other.maxZPlane.equals(maxZPlane); }
@Override public boolean equals(Object o) { if (!(o instanceof StandardXYZSolid)) return false; StandardXYZSolid other = (StandardXYZSolid) o; if (!super.equals(other) || other.isWholeWorld != isWholeWorld) { return false; } if (!isWholeWorld) { return other.minXPlane.equals(minXPlane) && other.maxXPlane.equals(maxXPlane) && other.minYPlane.equals(minYPlane) && other.maxYPlane.equals(maxYPlane) && other.minZPlane.equals(minZPlane) && other.maxZPlane.equals(maxZPlane); } return true; }