I’m wondering if there’s an easier way to create circular divs than what I’m doing now. Currently, I am just making an image for each different size, but it’s...
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in...
I have a line from A to B and a circle positioned at C with the radius R. What is a good algorithm to use to check whether the...
In Python, with Matplotlib, how can a scatter plot with empty circles be plotted? The goal is to draw empty circles around some of the colored disks already plotted...
How can I tell whether a circle and a rectangle intersect in 2D Euclidean space? (i.e. classic 2D geometry) 26 Answers 26
How would I “inflate” a polygon? That is, I want to do something similar to this: The requirement is that the new (inflated) polygon’s edges/points are all at the...
I am currently using in my application a listview that need maybe one second to be displayed. What I currently do is using the @id/android:empty property of the listview...
I need to generate a uniformly random point within a circle of radius R. I realize that by just picking a uniformly random angle in the interval [0 …...
Having a list of points, how do I find if they are in clockwise order? For example: point[0] = (5,0) point[1] = (6,4) point[2] = (4,5) point[3] = (1,5)...