point-in-polygon
Finding the irregularly-shaped subview that contains a point
My main view has several (perhaps many) polygonal active areas implemented as subviews. When the user touches the view, I want to identify if she hit one of those active areas.[详细]
2023-04-11 06:34 分类:问答How to scale polygons mapped to a resizeing picture
Im craeating a dart scoring program (to use myself in my dart room) and want the user to be able to click in different areas of a picture of a dart board to register the thrown darts.[详细]
2023-04-09 12:12 分类:问答MySQL implementation of ray-casting Algorithm?
We need to figure out a quick and fairly accurate method for point-in-polygon for lat/long values and polygons over google maps. After some research - came across some posts about mysql geometric exte[详细]
2023-04-08 15:26 分类:问答How to draw a n sided regular polygon in cartesian coordinates?
I have been trying to figure out how to write a simple program to compute the x,y points for creating a regular polygon of n sides. Can someone give me some code examples that don\'t use preexisting f[详细]
2023-03-30 16:44 分类:问答Point in rectangle
What is the fastest way to find if a point is in a rectangle given in this form: I have two points which are the centers of opposite sides of the rectangle, and a number which is the height of those s[详细]
2023-03-10 08:15 分类:问答How do I determine if a series of points (or polygon) is within a rectangular region?
I have been looking at posts about determining if a point lies within a polygon or not and the answers are either too vague, abstract, or complex for me.So I am going to try to ask my question specifi[详细]
2023-03-07 00:46 分类:问答Point-in-polygon for a large number of points
I\'m wondering what may be the most efficient way of determining whether a large number of points (O(1 million) are inside or outside a collection (O(10)) of polygons?The latter are not necessarily co[详细]
2023-03-06 01:06 分类:问答Find Point in polygon PHP
i have a typical question with the Geometric datatype of mysql, polygon. I have the polygon data, in the form of an a开发者_Go百科rray of latitudes and longitudes, ex:[详细]
2023-02-12 02:57 分类:问答Point in Polygon check with SVG and JavaScript?
I have a map that I converted from a raster graphic into an SVG file by converting the di开发者_高级运维fferently coloured areas into paths.[详细]
2023-01-25 12:47 分类:问答Retrieve set of rectangles containing a specified point
I can\'t figure out how to implement this in a performing way, so I decided to ask you guys. I have a list of rectangles - actually atm only squares, but I might have to migrate to rectangles later,[详细]
2023-01-22 14:25 分类:问答