polygons/lines/points on google map Programming Web Development by karthik_ppts How to add control for marking area using points,lines and polygons on google map and how to store that area in mysql db? Becoz i need to give alert message when my vehicle cross that area in my vehicle tracking system. Re: Polygons Programming Software Development by w0rk4holic … calculate the interior angles for irregular polygons i.e concave polygons. My bad did not define concave polygons: polygons that have atleast 1 interior… angle > 180 are called concave polygons here is a picture: [URL="http://www.korthalsaltes.com… Re: Polygons Programming Software Development by Banfa … linked to, the equations given still hold true for concave polygons. You can't calculate the angles of an irregular polygon… How to Merge ( unite ) Polygons Programming Software Development by astian … at the moment is the following: The geometry for the polygons is stored in a database, and Im writing and reading… supposedly works, but here is the twist: Many of the polygons are not really sharing a line or anything, meaning that… this might be because the data I have has the polygons described with points that have 12 symbols after the decimal… Libraries or toolkit for rendering polyhedra from multiple closed polygons Programming Software Development by bobsta …trying to render irregular polyhedra composed of multiple closed polygons: each polygon i comprises a plurality of points …coordinate. The points are not sorted within the polygons. The polygons can be convex or concave and are sometimes …split(by having multiple closed polygons for a particular z-coordinate) I want to … flipping polygon of polygons Programming Software Development by ashsha … one, outside polygon. inside the outside polygon I created smaller polygons. I want to flip all of it vertically. I know… outside polygon and I have an ArrayList for the inner polygons. I was able to flip the outside polygon. but …how do I flipped the inner polygons keeping their relative positions in the new one? I know… Re: flipping polygon of polygons Programming Software Development by Taywin … in order to transform points before rotation. /* The polygons below are sharing the same center point. Then the … directly be applied to the inner polygon. +---------+ | +---+ | | | | | | +---+ | +---------+ The polygons below are not sharing the same center point. The inner… Re: flipping polygon of polygons Programming Software Development by Taywin … axis only and want to use distance to move/copy polygons inside, you need to use the shortest distance of each… you will get the correct mirror point locations of inner polygons. /* A polygon is located away from the center line of… Re: flipping polygon of polygons Programming Software Development by JamesCherrill Assuming the inner polygons have their coordinates defined in the same frame as the outer one (as ooposed to being relative to the outer polygon) then all you need to do is to apply the same absolute transform you used on the outer polygon's coordinates Re: flipping polygon of polygons Programming Software Development by ashsha … (triangle shape), and I was able to move the inner polygons. but the distance is incorrect. this is a picture of… OpenGL use of sphere and polygons together Programming Game Development by m khan hi...i ant to ask how to use both glutSolidSphere() function and drawing polygons together .i try my bst but not getting that.when i am calling in display its displaying just spheer but not the polygons which i draw. .. How to draw Polygons with wxPython Programming Software Development by ttback …))[/CODE] It is a 2D patch function which draws triangular polygons. I am familiar with using wxPython for simple GUI and…, but this is my first time trying to work with polygons and create 3D to 2D transformations from a raw file… How to generate slope and aspect polygons from elevation map Programming Software Development by nikhilsamkumar I have an elevation map, from that i will get slope values,but wat my idea is to generate the polygons of 0-10 range slope values ,10-20 slope values .... like that.. i.e vector polygons .. please help me .. im in deep trouble Re: OpenGL use of sphere and polygons together Programming Game Development by mrnutty The sphere could probably be drawing over your polygons. But, i'll have to see your code first. How to draw polygons with Point2D in wxPython? Programming Software Development by ttback …] [-11.235865 5.866001 -4.604924] I want to draw polygons and succeeded with making a list of wx.point objects… Cracks showing between polygons Programming Software Development by cms271828 … this has the effect of showing a crack between the polygons. The crack dissapears if I turn off ANTIALISAING, but I… Re: Cracks showing between polygons Programming Software Development by Ezzaral [B]> Is there any way around this (without moving the corner points a pixel or two to hide the gap) ??[/B] Not that I am aware of, short of declaring a general path that describes the outline of both polygons as a single entity. Re: Cracks showing between polygons Programming Software Development by cms271828 I see your point, but I need the polygons to be different colours (they will form the basis of … Re: polygons/lines/points on google map Programming Web Development by karthik_ppts [url]http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html[/url] Polygons Programming Software Development by w0rk4holic how do i find all the interior angles of a concave polygon? here is a java applet that does the same :- [URL="http://www.mathopenref.com/polygoninteriorangles.html"]http://www.mathopenref.com/polygoninteriorangles.html[/URL] thanks Re: Polygons Programming Software Development by Banfa Interestingly if you had bothered to read the text of that page below the Java applet it tells you exactly how you can calculate the interior angle for a regular polygon and further it links boldly at the top of the page to a page about exterior angles too. Re: Polygons Programming Software Development by w0rk4holic thanks for the post how do i compute the other (N-1) angles then? the formula on the site holds if i know the n-1 angles .. what if there is more than 1 reflex angle in the concave polygon? (i know the all the angles sum up to a particular number but if there are multiple reflex angles its like solving 1 equation with multiple unknowns :S) i am … Re: Polygons Programming Software Development by Banfa It's not like solving 1 equation with multiple unknowns it [b]is[/b] solving 1 equation with multiple unknowns. [QUOTE=w0rk4holic;1171266]i am using the cos inverse of the vector dot product of the 2 lines (connected sides of the polygon) which returns the correct angle between them, the problem is i cannot figure out weather the angle is inside … Re: Polygons Programming Software Development by w0rk4holic thanks for the post again! i figured out a solution to the problem: the problem :- find all interior angles of any polygon be it concave or convex input :- a set of points representing the polygon with clockwise or counter clockwise winding output :- all the interior angles of the polygon (duh!) solution :- algorithm :- n = number… Re: Help With finding the Area of regular polygons Programming Software Development by bumsfeld Your area formula for regular polygons should be: [code] area = ((length**2) * numSides)/(4 * (math.tan(math.pi/numSides))) [/code]Your result will be square units of whatever units of measurement your sides are. You cannot get degrees for the area! Re: Efficient way to fill Polygons with Patterns : Java Swing Programming Software Development by nataraja833 … is efficient as I've more than 10million rectangles & polygons to be drawn on JPanel . I need these 45degree lines… Re: flipping polygon of polygons Programming Software Development by Taywin What do you mean by flipping? Do you mean rotating the polygon or mirroring it? If you know the center of the outter polygon, you could use the point for transform process for the inner polygon. Then rotate/mirror it the same way you did with the outter polygon. Does that make sense to you? Re: flipping polygon of polygons Programming Software Development by JamesCherrill Just consider some trivial cases where one (or more) point of the inner poly s co-located with one point of the outer poly. It's obvious that the same transform has to be applied to all the points of all the polys. (By "transform" I mean the fixed values that you add and multiply each point by; it's a subset of AffineTransform) Re: How to draw Polygons with wxPython Programming Software Development by Gribouillis I've found a nice explanation with an animated polygon here [url]http://users.info.unicaen.fr/~karczma/TEACH/ProgSci/Wxgra.html[/url]. It's in french, but you should be able to translate it roughly with google translate :) Re: How to draw Polygons with wxPython Programming Software Development by ttback > I've found a nice explanation with an animated polygon here [http://users.info.unicaen.fr/~karczma/TEACH/ProgSci/Wxgra.html](http://users.info.unicaen.fr/~karczma/TEACH/ProgSci/Wxgra.html). It's in french, but you should be able to translate it roughly with google translate :) I figured it out myself afterward ('cause I can't go to sleep …