|
I find your excess of belief disturbing...
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
|
Are the points of the polygon in any particular order, like clockwise or counterclockwise?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Originally I was thinking of leaving that open just to confuse things.
For the sake of making this easier: counter-clockwise.
cheers
Chris Maunder
|
|
|
|
|
Thanks. The professor who had exactly this question in an exam simply said: " Pick one."
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Errrm...
Given a vector of coordinate pairs A, B, C, ... would be the same polygon as ..., C, B, A no? What did I miss?
... such stuff as dreams are made on
|
|
|
|
|
Sure, but what if the points are sorted by X*Y ?
|
|
|
|
|
Then each point needs an index to define the topology, I guess.
... such stuff as dreams are made on
|
|
|
|
|
I don't think it matters whether the order is clockwise or anti-clockwise. But it would make the solution easier to craft if the points were specified in order.
/ravi
|
|
|
|
|
It matters. Consider something which looks like two equilateral triangles, point to point: an X with vertical lines up the sides, filled in. You'd express the points as: Bottom-left; top-left; middle; bottom-right; top-right. Then express the points in a different order: bottom-right; middle; bottom-left; top left; top right - and the figure becomes a filled-in W-with-a-line-across-the-top shape.
|
|
|
|
|
As far as I can see, neither of the ordering examples in your post are clockwise or anticlockwise; what I meant was, if they're guaranteed to be either clockwise or anticlockwise, then it won't matter which order is selected. Apologies if I've misunderstood your examples.
/ravi
|
|
|
|
|
Shock news from the new Star Wars film: the robots are translucent! See-Throopio is back!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I was wondering where it fit into the Star Wars timeline. It appears as if it's positioned between Episode 3 and Episode 4.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Right. They are building the first Death Star.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Just before episode 4.
It is the story of the heist to get the Death star plans that Princess Leia tried to smuggle to the rebellion.
I'd rather be phishing!
|
|
|
|
|
Good. I want to see many Balthans die.
|
|
|
|
|
Bothan.
You heathen!!!
I'd rather be phishing!
|
|
|
|
|
I so wanted to say "Balkans" or "boffins", but I forebore.
|
|
|
|
|
I'm just hoping it's better than The Force Awakens ... but I'm not putting money on it.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
On a side note, I finally watched Suicide Squad last night. I was sorely disappointed.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Damn. I've been trying to persuade Herself it might be good based on the trailers, but she's very resistant. IMDB 6.3 is a pretty good score these days...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It was as if we're all supposed to know the backstory, and the plot was ludicrous.
The worrying part is that they set you up at the end for a sequel. Let's all hope that doesn't happen.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
So the pirates who download a copy would be doing us all a favour?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
John Simmons / outlaw programmer wrote: The worrying part is that they set you up at the end for a sequel. Let's all hope that doesn't happen.
Don't worry, if it turns out some piece of crap isn't worth a sequel, they call the next installment "a reboot".
I always take this as meaning that if I'm supposed to ignore events that took place in the previous incarnation, I should get a refund for it.
|
|
|
|
|
This is almost a certainty. For a start Han Solo is still alive (somewhere) and hasn't shot Greebo yet.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|