polygon
Reusable polygon
I want to have a canvas in xaml where i place some icons. These icons are polygons like this one: <Polygon Points=\"0,0 20,50, 0,50 20,0\" Fill=\"Red\" Stretch=\"Uniform\"/>[详细]
2023-02-07 21:22 分类:问答Check if polygon is inside a polygon
Yester开发者_Go百科day I was looking to check if a point was inside a polygon and found this great script: https://github.com/tparkin/Google-Maps-Point-in-Polygon[详细]
2023-02-07 14:34 分类:问答How persist an Polygon or Line in JSF app
I\'m trying persist an Polygon or multipolygon in JSF application. The database model, classes POJO has been OK, but in JSF/HTML forms, i dont know how proceed to submit an polygon or line string to m[详细]
2023-02-04 21:18 分类:问答Render arbitrary polygon with XNA
Looking for a simple way to render a list of arbitrary vertices (on a 2d plane) ... I\'m guessing that I\'ll have to do some sort of tessellation, and will have to deal with concave/convex polygons. N[详细]
2023-01-31 22:08 分类:问答2D Level of Detail (LOD) algorithm
I have been scouting around the net for an algorithm that enables you to create level of detail (LOD) representations of 2D polygons, but am unable to find ANY decent reference. Maybe I am using the w[详细]
2023-01-30 17:37 分类:问答OpenGL/JOGL: Multiple triangle fans in a vertex array
I\'m working on making some moderately simple shapes with vertex arrays, and I\'m making some good headway, but now I want to draw 2 (or more) triangle fan objects.Is there any way to only make one ca[详细]
2023-01-30 01:14 分类:问答How can I create a filled polygon from unordered edge data in MATLAB?
I want to create a polygon using edge data (X,Y coordinates of each point of edge) that is unordered, and I want to fill that polygon with some c开发者_C百科olor.[详细]
2023-01-29 18:54 分类:问答Filling the clicked area in Java
I\'m working on a project about graph-coloring (with GUI). I have a map divided into little polygons. When I clicked on one of these polygons, I want it to be filled with a specific color. How can I d[详细]
2023-01-29 14:59 分类:问答Liang Barsky line clipping algorithm with polygonal clipping area
I searched the Internet for ways to trim the line with polygon in 2D... but unsuccessfully.开发者_Python百科 Could you please help?[详细]
2023-01-28 04:21 分类:问答Drawing MultiPolygon with different style for each component in OpenLayers
I have a OpenLayers.Feature.Vector created as follows: var multiPol = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.MultiPolygon([polygonGeometry1,polygonGeometry2]));[详细]
2023-01-27 20:38 分类:问答