9781
Graphics / Re: plotting path of a robot in an obstacle filled environment
« on: September 04, 2012, 05:01:44 pm »
I guess you're wrote the last message on your phone or table, but please try to write full English words and sentences, it's quite hard to read otherwise (abt = about, eqns = equations).
There are many ways to check it here and here are two possibilities.
Thanks for the reply...what i meant was how to check whether a point lies inside a polygon created using sfmlSFML is not a math library and is also not design for that. There doesn't exist a inpolygon() function or similar (afaik).
My polygon would be defined using polygon.addpoint(). How should i go abt checking this?
in matlab you have a function inpolygon() that does this job...what abt sfml
There are many ways to check it here and here are two possibilities.
For the window limits part...i want to basically set x and y axes limits...for eg x limit:-100 to 100 and y limit:-150 to 200Not really... What should those limits do and what do you actually want to achive?
i hope you get the point