polygon
Draw a convex hull using the given points in java/android
I have some 2D points given and i want to draw a polygon using those points. This polygon must pass through all the given points means there is no such point which is inside or outside the polygon.[详细]
2023-02-24 01:59 分类:问答How to find ALL points that lie on the outline of a polygon's convex hull (Matlab)
sorry if this question might seem simple but I couldn\'t figure it out. Imagine two arbitrary Rectangles that are randomly overlaped so that their outlines intersect at only two locations. Now you cu[详细]
2023-02-22 16:18 分类:问答how to order vertices in a simple, non-convex polygon
I have a problem where I have a series of points for a simple, non-convex polygon (I hope I have the terminology correct).But the points are not necessarily in order (ie, clockwise or counterclockwise[详细]
2023-02-22 07:48 分类:问答Calculate area out of geo-coordinates on non-convex polygons
I would like to calculate the area of a polygon that I get from a GPS track. So basically I store the position of the device/user after a period of time, let\'s say 5 seconds.[详细]
2023-02-21 12:17 分类:问答How to subsample a 2D polygon?
I have polygons that define the contour of counties in the UK. These shapes are very detailed (10k to 20k points each), thus rendering the related computations (is point X in polygon P?) quite computa[详细]
2023-02-20 19:36 分类:问答How to draw a regular polygon so that one edge is parallel to the X axis?
I know that to draw a regular polygon from a center point, you use something along the lines of: for (int i = 0; i < n; i++) {[详细]
2023-02-20 04:59 分类:问答Drawing a septagon in vb.net
Does anyone have any code that can draw an equilateral septagon in vb.net? All开发者_运维技巧 sides and angles need to be equal.[详细]
2023-02-20 02:57 分类:问答Resources for 2D Level Editing Program
I\'m developing a 2D game, and I\'ve just started working on the level editor. Levels will be defined as a list of 2D polygon shapes.[详细]
2023-02-19 16:11 分类:问答Cocos2d draw a polygon using CCSprite
Can you help. Want to draw a polygon (beams at different angles) and apply box 2d body 开发者_如何学Goto it. Can you please let me know how to create a CCSprite with a polygon shape[详细]
2023-02-18 21:12 分类:问答OpenGL Z-Biasing (Polygon Offset) Limitations
I have a two coplanar polygons. I tried doing. glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(0,1); and expected one to be distinctly \"on top of\" the other.[详细]
2023-02-18 08:23 分类:问答