Given a cubic bezier curve P0,P1,P2,P3 with the following properties: • Both P1 and P2 are on the same side of the line formed by P0 and P3.
In Python, how would one find all integer points common to two circles? For example,开发者_C百科 imagine a Venn diagram-like intersection of two (equally sized) circles, with center-points (x1,y1) an
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I\'m stuck on this: Have a square. Put n points into 开发者_运维百科this square so the minimal distance (not necessary the average distance) is the highest possible.
In industry, there is often a problem where you need to calculate the most efficient use of material, be it fabric, wood, metal etc. So the starting point is X amount of shapes of given dimensions, ma
I\'m searching for an algorithm to calculate the average distance between a point and a line segment in 3D.So given two points A(x1, y1, z1) and B(x2, y2, z2) that represent line segment AB, and a thi
I wish to randomly and uniformly generate points on a cylinder and a cone (separately). The cylinder is defined by its center, its radius and height. Same specifications for the cone. I am able to get
Given two polygons: POLYGON((1 0, 1 8, 6 4, 1 0)) POLYGON((4 1, 3 5, 4 9, 9 5, 4 1),(4 5, 5 7, 6 7, 4 4, 4 5))
There is a very handy set of 2d geometry utilities here. The angleBetweenLines has a problem, though. The result is always positive. I need to detect both positive and negative angles, so if one line
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.