geometry
Intersection points of line bisector with rectangle
I\'ve been trying to wrap my head around this the whole day... Basically, I have the coordinates of two points that will always be inside a rectangle.[详细]
2023-04-06 17:19 分类:问答using geometry shader to create new primitives types
Is it possible to output new primitive type from geometry shader other than was input? I\'d like to input a point and render a triangle. The point would be used just as center for this triangle. If no[详细]
2023-04-06 14:41 分类:问答How to find 4 points next to the intersection of two lines
Let\'s say I have some bitmap data (in black) over which some lines have been hand drawn in vector format (in green). The lines roughly follow the shape of the bitmap data. In some places, the lines i[详细]
2023-04-06 14:16 分类:问答Bounding ellipse constrained to horizontal/vertical axes
Context: I\'m trying to clip a topographic map into the minimum-size ellipse around a number of wind turbines, to minimize the size of the map. The program doing this map clipping can clip in ellipses[详细]
2023-04-06 11:31 分类:问答Given 2 points how do I draw a line at a right angle to the line formed by the two points?
Idealy I want to supply a sequence of points and have a line drawn at a right angle at every point (starting at the second point).[详细]
2023-04-06 08:28 分类:问答Android textured Sphere
I want to draw an earth globe on android. At this point I need help with the UV texture coordinates. I\'m using this earth texture (kibotu.net/earth.jpg). Currently it looks like this front side (kibo[详细]
2023-04-06 03:25 分类:问答Can somebody please help me with a geometric transformation problem?
I need to draw a circular arc between two given points. I also have the arc\'s radius. I understand that this can be done using standard canvas APIs but I need to handle the case of elliptical arcs to[详细]
2023-04-05 22:04 分类:问答HTML 5 Canvas arc() and lineTo() to draw tabs around a circle
I\'ve got a circle that I\'ve drawn on a canvas. I\'d like to draw tab-like objects surrounding this circle using 2 arcs that a开发者_开发问答re connected on each end with a line drawn at a certain an[详细]
2023-04-05 17:09 分类:问答Homography to Projective transform
I\'ve been attempting to figure out how to take a homogra开发者_运维百科phy between two planes and convert it into an projective transform. Matlab does this automatically, but I\'ve been trying to fig[详细]
2023-04-05 08:54 分类:问答Algorithm or formula for the shortest direction of travel between two degrees on a circle?
Given two degrees on a 360 degree circle.Lets call them Source and Destination. For example Source could be 120 degrees and Destination could be 30 degrees.[详细]
2023-04-05 05:16 分类:问答