fun IntersectionMatrix(other: IntersectionMatrix) { this() matrix.get(Location.INTERIOR).get(Location.INTERIOR) = other.matrix.get(Location.INTERIOR).get(Location.INTERIOR) matrix.get(Location.INTERIOR).get(Location.BOUNDARY) = other.matrix.get(Location.INTERIOR).get(Location.BOUNDARY) matrix.get(Location.INTERIOR).get(Location.EXTERIOR) = other.matrix.get(Location.INTERIOR).get(Location.EXTERIOR) matrix.get(Location.BOUNDARY).get(Location.INTERIOR) = other.matrix.get(Location.BOUNDARY).get(Location.INTERIOR) matrix.get(Location.BOUNDARY).get(Location.BOUNDARY) = other.matrix.get(Location.BOUNDARY).get(Location.BOUNDARY) matrix.get(Location.BOUNDARY).get(Location.EXTERIOR) = other.matrix.get(Location.BOUNDARY).get(Location.EXTERIOR) matrix.get(Location.EXTERIOR).get(Location.INTERIOR) = other.matrix.get(Location.EXTERIOR).get(Location.INTERIOR) matrix.get(Location.EXTERIOR).get(Location.BOUNDARY) other.matrix.get(Location.EXTERIOR).get(Location.BOUNDARY) matrix.get(Location.EXTERIOR).get(Location.EXTERIOR) = other.matrix.get(Location.EXTERIOR).get(Location.EXTERIOR) }
Creates an < code > IntersectionMatrix < /code > with the same elements as < code > other < /code > .