Questions tagged [computational-geometry]
The study of computer algorithms which admit geometric descriptions, and geometric problems arising in association with such algorithms. The two major classes of problems are (a) efficient design of algorithms and data classes using geometric concepts and (b) representation and modelling of curves and surfaces.
1,263 questions
0
votes
1
answer
56
views
I need help to understand the algorithm that tests if a point lies inside or outside a general 2D polygon
The algorithm in question is from this webpage.
The complete algorithm from this webpage is as follows:
...
4
votes
0
answers
83
views
Is there an efficient algorithm to find the smallest circumscribed circle to a set of points?
I have a set of $n$ points in the plane and I want to find the smallest circumscribed circle that contains them.
By circumscribed I mean that the circle must pass through $3$ of the points. Brute ...
3
votes
0
answers
83
views
Is the adaptive jamming complexity for aperture identification $O(m \log m + \log N)$?
Let $D\subset\mathbb{R}^{2}$ be a bounded, open, connected polygonal domain whose boundary decomposes (unknown to the observer) as a disjoint union
$$
\partial D \;=\; U \,\sqcup\, W
$$
where $U$ is ...
3
votes
1
answer
98
views
Toric arrangements and system of polynomial equations
I am working on some problem on toric arrangements at the crossroad between topology, combinatorics and algebraic geometry.
$\textbf{Setting}$
Let $m,n\geq1$ and let
\begin{equation*}\mathcal{S}=\left\...
1
vote
2
answers
101
views
How to partition a polygon into contiguous regions with given area ratios?
I am looking for a way to divide a 2D polygon (possibly with a complex shape, like an "H". These are actually floor layouts of buildings) into several connected sub-regions, where each ...
1
vote
0
answers
45
views
Simple medial axis algorithm for convex polygons gets unexpectedly tangled up
When a polygon is convex,
its medial axis
a.k.a. topological skeleton is particularly simple:
there are no curved parts; it looks like an undirected tree whose internal nodes
are all those points in ...
0
votes
1
answer
95
views
How to test if a cubic Bézier approximates a circular arc using only its control points?
Given a cubic Bézier curve with control points P0, P1, P2, P3, is there a way to determine whether it approximates a circular arc using only those four points — without evaluating the curve at ...
0
votes
2
answers
111
views
How to test if a point lies inside a spherical quadrilateral?
I have four 3D points
A
,
B
,
C
,
D
that define a quadrilateral (assumed to be convex) on the surface of a unit sphere (i.e., all points lie on the sphere centered at the origin). These points define ...
2
votes
0
answers
30
views
Finding faces from vertices in integer-valued, high-dimensional spaces
I am working on a very particular problem in which I have obtained a collection of points in a high-dimensional space. What I know a priori is that each point has integer-valued coordinates, these ...
0
votes
0
answers
66
views
What is meant by a linear combination of homogeneous coordinates?
This is based on Förstner and Wrobel's Photogrammatic Computer Vision.
For inhomogeneous coordinates in $\mathbb{R}^2$ using $\vec{x}_0\ne\vec{0}$ and a direction vector $\vec{d}$ we can express a ...
1
vote
0
answers
49
views
Subset maximising nearest neighbour distance
I'm interested in the following problem:
On the plane, given $n$ points in general position, select $k$ such that for each point selected, the (Euclidean) distance to the nearest point in the ...
0
votes
1
answer
109
views
Finding the Envelope of a Family of Circles
I am trying to determine the envelope of a family of circles defined by:
$$\left(x-k\right)^2+\left(y-k^2\right)^2=4\left|k\right|,k\in\mathbb{Z}^*$$
I have searched MSE and found a similar discussion ...
0
votes
1
answer
56
views
What is a "linear time transformation" for algorithms? By extension, what does "linear time transformable" mean?
I'm reading a slice of Preparata and Shamos's book on Computational Geometry. I'm enjoying it so far, and I feel it's pretty well-written. However, some of the language is unusual and can't be found ...
1
vote
1
answer
89
views
Volume upper bound of the integer-point-free cube
In 3D space, we define the integer points as those whose three coordinates are all integers. What is the maximum possible volume of the cube which doesn't contain any integer point?
https://www....
2
votes
0
answers
55
views
Finding generators of an ideal
I have a commutative $k$-algebra which is given by an explicit presentation $R = k[x_1,\dots,x_n]/(f)$. I have a subalgebra $S \subset R$ which I know generators for: let's call them $a_1,\dots,a_m \...
3
votes
2
answers
291
views
Two typos in the book by Joseph O'Rourke.
The book by O'Rourke, titled: Computational Geometry in C, Second Edition; states on page #64:
A convex combination of points $x_1,\cdots, x_k$ is a sum of the form $\alpha_1x_1+\cdots+ \alpha_kx_k$ ...
0
votes
0
answers
50
views
Solving Hamilton’s equations on curved surface
I wonder if there are analytical or numerical methods that can achieve the light ray tracing on curved surfaces filled with in-homogeneous medium. Specifically, I want to solve the following Hamilton’...
0
votes
1
answer
131
views
Linear programming constraints for a line intersecting all line segments in set
I have a set of line segments that are defined as a connection between two arbitrary points (e.g. $(x_1,y_1)$ and $(x_2,y_2)$). I need to find a line $y=mx+b$ that intersects all the line segments in ...
2
votes
1
answer
72
views
Finding the coordinates of the quadrilateral, derived from two intersecting line segements whose coordinates are given.
I want the coordinates of the quadrilateral formed from two intersection line segments, where the opposite sides of the quadrilateral should be parallel to one of the intersecting line segments. For ...
0
votes
0
answers
50
views
What mathematical representation/technique can I use to verify the relationship between a convex polyhedron and its dual
From [1]
It is easily seen that the convex hull of the union of $A^D$ and $B^D$ is the dual of the intersection of $A$ and $B$.
where the definition of dual in [1] is:
The dual $A^D$ of $A$ is ...
0
votes
2
answers
100
views
Primal and dual configuration of point-line
The primal configuration of point $p=(a, b)$ implies non-vertical line $p^*=\{(x,y)|y=ax-b\}$ is dual configuration.
And the primal configuration of non-vertical line $\ell=\{(x,y)|y=mx-n\}$ implies ...
0
votes
1
answer
79
views
Help troubleshooting ellipse perimeter calculation algorithm
I'm trying to troubleshoot my implementation of an Infinite Series algorithm to calculate the perimeter of an ellipse. I'm sorry I don't have the expertise to express it in, what appears to be a ...
9
votes
2
answers
568
views
Relationship between major and minor axis of an ellipse's circumference
I'm not a mathematician. I'm just doing 3D modeling and can't find an equation to solve this problem. In openscad, an ellipse is created by scaling a circle. So this code creates an ellipse with a ...
20
votes
0
answers
1k
views
Placing triangles around a central triangle: Optimal Strategy?
Now cross-posted to MathOverflow (link).
Question: There is an equilateral triangle. Two players alternate turns placing non-overlapping equilateral triangles of the same size that touch the original ...
1
vote
1
answer
50
views
Algorithm to find if intersection of convex sets is empty [closed]
Is there an algorithm to find if the intersection of two convex sets is empty or not. The projection onto convex method (POCS) and similar methods finds a point in the intersection, but will they ...