Prime By Design

 Mathematics

Associated with Math.SE; for both general discussion & math qu...
Oct 22, 2016 11:13
I hadn't understood what you were saying
Oct 22, 2016 11:13
you were correct
Oct 22, 2016 11:13
Martin
Oct 22, 2016 11:11
the hard part is calculating where the lines need to be drawn for the given square
Oct 22, 2016 11:11
the image is the easy part for me
Oct 22, 2016 11:11
and I need to generate an image for that specific tile
Oct 22, 2016 11:11
it calls my code and asks for a single tile each time
Oct 22, 2016 11:10
so I am using a mapping library which acts like google maps
Oct 22, 2016 11:10
and I need to render it on screen
Oct 22, 2016 11:10
it's huge
Oct 22, 2016 11:10
so I have a floorplan in CAD...
Oct 22, 2016 11:10
let me explain the actual real life problem
Oct 22, 2016 11:09
exactly!
Oct 22, 2016 11:09
so that would be the first tile I was describing
Oct 22, 2016 11:09
no I think I misunderstood you before
Oct 22, 2016 11:09
you're right
Oct 22, 2016 11:09
ah yes
Oct 22, 2016 11:08
hang on we're going a little fast for my non-mathematical brain...
Oct 22, 2016 11:07
lower left = 0,0 upper right = 256,256
Oct 22, 2016 11:07
actually wait no
Oct 22, 2016 11:07
but yes I follow so far
Oct 22, 2016 11:07
yes.. but the lines co-ordinates are not the same... they are for the overall map
Oct 22, 2016 11:05
Yes I have an X a Y and a Z (zoom)
Oct 22, 2016 11:04
okay so...
Oct 22, 2016 11:04
Sorry I don't follow..
Oct 22, 2016 11:03
256 X 256 Pixels
Oct 22, 2016 11:02
all squares
Oct 22, 2016 11:02
but I am only considering lines at the moment to break down the problem
Oct 22, 2016 11:02
It's actually a map which can contain various shapes
Oct 22, 2016 11:02
The lines are random
Oct 22, 2016 11:01
okay..
Oct 22, 2016 11:00
I'd appreciate any assistance you could offer
Oct 22, 2016 10:59
I've been thinking about this problem so much I can't sleep at night and when I do finally get some sleep I dream about it
Oct 22, 2016 10:58
But I need to calculate the start and end points of the line for the given tile.
Oct 22, 2016 10:58
for the whole drawing
Oct 22, 2016 10:58
I have the start and end points for each line
Oct 22, 2016 10:58
The problem is that I have an image with lines drawn on it. I am using a mapping tool much like google maps which tiles images of the current map on the screen. Each square is drawn individually so there may be times that a line intersects the current square. There may also be occasions where the line could be contained in a square. Lines can be in any direction.
Oct 22, 2016 10:55
and I wondered if anyone here had a spare moment to help me?
Oct 22, 2016 10:55
I'm currently struggling with a geometry problem
Oct 22, 2016 10:54
Hello all
 

 MathOverflow

General discussion for mathoverflow.net
Oct 22, 2016 09:45
Hello all, I'm terrible at Math... I am trying to solve an advanced geometry problem and I was wondering if anyone could assist me?