isCoordValid

fun isCoordValid(cx: Int, cy: Int): Boolean

Return

true if grid-based coordinates are within layer bounds.