runelite-api/src/main/java/net/runelite/api/coords/WorldArea.java
/**
	 * Checks whether this area intersects with another.
	 *
	 * @param other the other area
	 * @return true if the areas intersect, false otherwise
	 */
Checks whether this area intersects with another.
@param other the other area
@return true if the areas intersect, false otherwise
Checks whether this area intersects with another . @param other the other area @return true if the areas intersect false otherwise
public boolean intersectsWith(WorldArea other)
	{
		if (this.getPlane() != other.getPlane())
		{
			return false;
		}
		Point distances = getAxisDistances(other);
		return distances.getX() + distances.getY() == 0;
	}
public boolean intersectsWith ( WorldArea other ) { if ( this . getPlane ( ) != other . getPlane ( ) ) { return false ; } Point distances = getAxisDistances ( other ) ; return distances . getX ( ) + distances . getY ( ) == 0 ; }
Checks whether this area intersects with another.
Checks whether this area intersects with another .