Top "Polygon" questions

For issues relating to the creation, manipulation and rendering of polygons in graphical user interfaces.

Extracting polygon given coordinates from an image using OpenCV

I've a set of points like the following: <data:polygon> <data:point x="542" y="107"/> <data:…

python image opencv image-processing polygon
How can I tell if two polygons intersect?

Imagine I have the coordinate of 4 points that form a polygon. These points are represented using PointF in C#. If …

c# polygon intersection system.drawing
OpenCV threshold with mask

I'm trying to use OpenCV's cv::threshold function (more specific THRESH_OTSU), only that I'd like to do it with …

c++ opencv polygon threshold
Draw a polygon in C

i need to draw a polygon of "n" sides given 2 points (the center and 1 of his vertex) just that i …

c graphics polygon primitive atan2
Polygons with Double Coordinates

I have some questions about Polygons with points of Double type... What I have to do, is given points, create …

java double polygon
Put label in the "center" of an SVG path

I'm trying to draw a label on a polygon of an svg file. The problem I'm facing is to find …

path svg raphael polygon
Testing whether a polygon is simple or complex

For a polygon defined as a sequence of (x,y) points, how can I detect whether it is complex or …

algorithm geometry polygon computational-geometry
See if lat / long falls within a polygon using mysql

I have the created the table below CREATE TABLE geom (g GEOMETRY); and have inserted many rows, example below: INSERT …

mysql gis polygon point
SQL Geography point inside polygon not returning true on STIntersect (but returns true using Geometry)

I don't want to resort in converting my geography data to geometry just so it returns true in STIntersect. Here …

sql geometry polygon point geography
Check if point is in spatial object which consists of multiple polygons/holes

I have a SpatialPolygonsDataFrame with 11589 objects of class "polygons". 10699 of those objects consists of exactly 1 polygon, however the rest of …

r polygon geospatial spatial point-in-polygon