geometry
Wpf Math Boundary Logic
I need some enlightenment on what might be a simple question. Given a circle of coordinates Xn and Ynthat act as boundary and given the coordinate of a control\'s center at X1 and开发者_StackOverflow[详细]
2023-04-11 16:27 分类:问答Finding filled rectangles given x, y coordinates using SQL
Given the following filled x, y coordinates: 0, 0 0, 1 0, 2 1, 0 1, 1 1, 2 2, 0 2, 1 2, 2 4, 0 4, 1 5, 0 5, 1 How do I write an SQL query to determine all the filled rectangles? A rectangle is def[详细]
2023-04-11 16:05 分类:问答Polygon skew algorithm
What algorithm can I use to skew a polygon? Like skewing the following: ____ |_| |__| To bottom right will yield[详细]
2023-04-11 14:54 分类:问答OpenGL lighting and shading on a GL_QUAD_STRIP
New to OpenGL, trying to imp开发者_运维百科lement a sphere with shading and lighting.I am aware that there is a sphere function I could call on, but trying to create my own.However, while I can get li[详细]
2023-04-11 13:14 分类:问答Texturing a 3D sphere(Can not find a post that helps me)
I am trying to create a 3D sphere and I currently have a sphere made out of points though I need to apply a texture to this and that is causing me problems.[详细]
2023-04-11 04:51 分类:问答Given a polygon and a point in 2D, how can one find the feature (vertex or edge) of the polygon closest to the point?
A naive approach is to find, for each edge in the polygon, the point on that edge closest to the given point, and then take the one that\'s closest. Is there a faster algorithm? My goal is to implemen[详细]
2023-04-10 10:32 分类:问答Getting a 3D object's orientation and aligning it parallel to a Vector3D in WPF
I have a WPF project in which I have imported code that represents a 3D scene created in 3D Max Studio and then converted using a tool to XAML code that I can use in WPF.[详细]
2023-04-10 08:53 分类:问答Random circles being detected
I\'m trying to detect circles but I am detecting circles that aren\'t even there. My code is below. Anyone know how to modify the DetectCircle() method to make the detection more accurate , please and[详细]
2023-04-10 04:19 分类:问答Adjust code to detect multiple circles instead of just 1 in OPENCV
I have got this circle detection working but only detects 1 circle. How would I adjust code to detect multiple circles(max circles that will be detected is 22 as using it for snooker). I presume i wou[详细]
2023-04-10 01:19 分类:问答Slerp with more than two points
The correct way to interpolate between two points on a sphere is using slerp. How would one interpolate between more than two points on a sphere? So summing a set of points with differen开发者_StackO[详细]
2023-04-09 22:52 分类:问答