Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
1
answer
40
views
Fast measurement of distance from point to mid segment?
Say you have a segment defined by 2 points $a,b$ and a third point $p$. You want to know the distance from $p$ to the midpoint of the edge.
This is very straightforward:
$$d = \|\frac{a + b}{2} - p\|$ …
3
votes
2
answers
114
views
Efficiently finding point triangle inclusion when doing incremental delaunay triangulation?
I want to implement a delaunay triangulator by using incremental building, which is purported to be $O(n \log(n))$ I am a little puzzled about 2 things.
Ever resource I read on the matter says:
Make …
1
vote
0
answers
44
views
Algorithm for Steiner points?
I am trying to find resources that explain an easy to implement (not necessarily optimal but reasonable runtime) algorithm for inserting Steiner points in a triangulation. …
3
votes
2
answers
200
views
Constrained Delaunay triangulation algorithm?
I am trying to find a resource which explains how to compute the constrained Delaunay triangulation of a set of points and edge constraints, I found these slides by Jonathan Shewchuck, but without the …
1
vote
Constrained Delaunay triangulation algorithm?
Page 7 of "FAST ALGORITHM FOR GENERATING CONSTRAINED DELAUNAY TRIANGULATIONS" (a publication on a CDT algorithm) explains the process very clearly and the figures are extremely useful.
0
votes
Accepted
How to enforce convexity of triangulation output?
I went about this problem as follows:
Find the centroid of the point set as well as the largest distance from the centroid to any of the points.
This yields a circle, compute a triangle that fully co …
0
votes
1
answer
27
views
How to enforce convexity of triangulation output?
I implemented an incremental Delaunay triangulation algorithm. It basically works except it has this weird issue. … But when I take these points out, I will delete the edges, creating a non convex triangulation. …
1
vote
0
answers
40
views
How to actually implement ruppert's algorithm?
The best resources I have so far are these 2:
https://sites.google.com/site/samsoninfinite/multivariable-calculus/constrained-delaunay-triangulation
https://en.wikipedia.org/wiki/Delaunay_refinement … I have the following (which is broken):
Input:
A list of points,
A list of ordered integer pairs defining the constraint segments
The angle constraint
Algorithm:
* compute a delaunay triangulation …
1
vote
1
answer
25
views
How to avoid global delaunay check in conforming triangulation?
Vec3,
point_count: usize,
segments: &dyn Fn(usize) -> [usize; 2],
segment_count: usize,
angle_constraint: f32,
area_constraint: f32,
) -> HalfMesh<Vec3, (), ()>
{
// Compute a triangulation … queue.push_back(edge_handle.next().id());
queue.push_back(edge_handle.pair().prev().id());
}
}
}
The summarizing pseudo code would be:
Compute a constrained Delaunay triangulation …
1
vote
Accepted
How to avoid global delaunay check in conforming triangulation?
I figured it out. The implementation of lawson's algorithm I had was incorrect, this is the right one:
/// Recursively flips triangles around a determined vertex until all pass the
/// delaunay test …