Divide a bounding box into equal parts.

Selesai Dipasang 5 tahun yang lalu Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I just need a simple function that when given a set of bounding box coordinates it will split it into X number of equal parts and return an array of each newly calculated bounding box.

Example:

const boundingBox = {minX: -74.0365, minY: 40.7034, maxX: -73.8299, maxY: 40.8916}

function split(bbox, numberOfEqualParts){

// calculate X amount of equally sized bounding boxes

// return an array of each newly calculated bounding box

}

split(boundingBox, 4)

Algoritma JavaScript

ID Proyek: #17256865

Tentang proyek

4 proposal Proyek online Aktif 5 tahun yang lalu

Diberikan kepada:

andreagiove

I can deal with this problem. The calculated bounding boxes must equal sized both in X and Y coordinates?

$15 USD dalam 1 hari
(0 Ulasan)
0.0

4 freelancer rata-rata menawar $19 untuk pekerjaan ini

testotorko

Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer and Web Designer, and have worked with wide variety of s Lebih banyak

$25 USD dalam 1 hari
(15 Ulasan)
4.1
ajay79220

I have read your description and I can do this for you. But I need more details about it. If you like we can discuss it on the chat. -Thanks

$10 USD dalam 1 hari
(0 Ulasan)
0.0