• Keine Ergebnisse gefunden

(4)– 4 – Nice Triangulations • θ

N/A
N/A
Protected

Academic year: 2021

Aktie "(4)– 4 – Nice Triangulations • θ"

Copied!
55
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

– 1 –

Nice Triangulations

Given a point set S in the plane produce a nice triangulation T of S, i.e. each triangle of T is “nicely shaped.”

(2)

– 2 –

Nice Triangulations

Given a point set S in the plane produce a nice triangulation T of S, i.e. each triangle of T is “nicely shaped.”

Different definitions of “nicely shaped” triangle ∆:

smallest angle is large

the largest angle is small

all angles are acute

ratio of radius of circumcirle and radius of incircle is small

ratio of longest edge and shortest edge is small

ratio of longest edge and corresponding altitude is small

. . .

(3)

– 3 –

Nice Triangulations

Given a point set S in the plane produce a nice triangulation T of S, i.e. each triangle of T is “nicely shaped.”

Different definitions of “nicely shaped” triangle ∆:

smallest angle is large

the largest angle is small

all angles are acute

ratio of radius of circumcirle and radius of incircle is small

ratio of longest edge and shortest edge is small

ratio of longest edge and corresponding altitude is small

. . .

All this notions are closely related and the respective “small” and “large”

can be appropritely parameterized and related to each other.

(4)

– 4 –

Nice Triangulations

θ(∆): smallest angle of

R(∆): ratio of longest edge and shortest edge

A(∆): ratio of longest edge and corresponding altitude (“aspect ratio”) Relations:

1

sin θ(∆) A(∆) 2

sin θ(∆) and R(∆) < A(∆)

(5)

– 5 –

Nice Triangulations

θ(∆): smallest angle of

R(∆): ratio of longest edge and shortest edge

A(∆): ratio of longest edge and corresponding altitude (“aspect ratio”) Relations:

1

sin θ(∆) A(∆) 2

sin θ(∆) and R(∆) < A(∆) T triangulation

θ(T ) = min∆∈T θ(∆)

R(T ) = max∆∈T R(∆)

A(T ) = max∆∈T A(∆)

Looking for triangulations T of S so that min-angle θ(T ) is large, of R(T ) is small, of A(T ) is small.

(6)

– 6 –

Nice Triangulations

Theorem:

Among all triangulations T of S the Delaunay triangulation maximizes the minimum angle, i.e. θ(DT (S)) = max{θ(T )|T triangulation of S}.

(7)

– 7 –

Nice Triangulations

Theorem:

Among all triangulations T of S the Delaunay triangulation maximizes the minimum angle, i.e. θ(DT (S)) = max{θ(T )|T triangulation of S}.

Proof idea:

Flip algorithm makes sorted vector of all triangle angles in the triangulation lexicographically increase.

(8)

– 8 –

Nice Triangulations

Problem:

For some point sets S, there are no nice triangulations, i.e. θ(T ) is small for all triangulations T of S (and A(T ) and R(T ) are large).

(9)

– 9 –

Nice Triangulations

Problem:

For some point sets S, there are no nice triangulations, i.e. θ(T ) is small for all triangulations T of S (and A(T ) and R(T ) are large).

(10)

– 10 –

Nice Triangulations

Problem:

For some point sets S, there are no nice triangulations, i.e. θ(T ) is small for all triangulations T of S (and A(T ) and R(T ) are large).

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible

(11)

– 11 –

Nice Triangulations

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible.

This is always possible!!!

(12)

– 12 –

Nice Triangulations

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible.

This is always possible!!!

1.Draw sufficiently fine grid, so that points in S are separated by two layers of boxes.

(13)

– 13 –

Nice Triangulations

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible.

This is always possible!!!

1.Draw sufficiently fine grid, so that points in S are separated by two layers of boxes.

2. For each point in S warp the closest grid point to its position.

(14)

– 14 –

Nice Triangulations

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible.

This is always possible!!!

1.Draw sufficiently fine grid, so that points in S are separated by two layers of boxes.

2. For each point in S warp the closest grid point to its position.

3. Triangulate each quadrilateral.

(15)

– 15 –

Nice Triangulations

Idea: Add points to S (so-called “Steiner points”) so that a nice triangulation on the larger set is possible.

This is always possible!!!

1.Draw sufficiently fine grid, so that points in S are separated by two layers of boxes.

2. For each point in S warp to closest grid point to its position.

3. Triangulate each quadrilateral.

Way too many new vertices!!!

(16)

– 16 –

Quadtrees

From T. Mchedlidze, KIT

(17)

– 17 –

Quadtrees

From T. Mchedlidze, KIT

(18)

– 18 –

Quadtrees

From T. Mchedlidze, KIT

(19)

– 19 –

Example

From T. Mchedlidze, KIT

(20)

– 20 –

Example

From T. Mchedlidze, KIT

(21)

– 21 –

Example

From T. Mchedlidze, KIT

(22)

– 22 –

Example

From T. Mchedlidze, KIT

(23)

– 23 –

Example

From T. Mchedlidze, KIT

(24)

– 24 –

Example

From T. Mchedlidze, KIT

(25)

– 25 –

Quadtree Properties

From T. Mchedlidze, KIT

(26)

– 26 –

Quadtree Properties

From T. Mchedlidze, KIT

(27)

– 27 –

Quadtree Properties

From T. Mchedlidze, KIT

(28)

– 28 –

Quadtree Properties

From T. Mchedlidze, KIT

(29)

– 29 –

Finding Neighbors

From T. Mchedlidze, KIT

(30)

– 30 –

Finding Neighbors

From T. Mchedlidze, KIT

(31)

– 31 –

Balanced Subtrees

From T. Mchedlidze, KIT

(32)

– 32 –

Balanced Quadtrees

From T. Mchedlidze, KIT

(33)

– 33 –

Balanced Quadtrees

From T. Mchedlidze, KIT

(34)

– 34 –

Balancing Quadtrees

From T. Mchedlidze, KIT

(35)

– 35 –

Balancing Quadtrees

From T. Mchedlidze, KIT

(36)

– 36 –

Balanicng Quadtrees

From T. Mchedlidze, KIT

(37)

– 37 –

Balancing Quadtrees

From T. Mchedlidze, KIT

(38)

– 38 –

Quadtrees for Nice Triangulations

Bern, Eppstein, Gilbert: Provably Good Mesh Generation (1994)

p p

(39)

– 39 –

Quadtrees for Nice Triangulations

Bern, Eppstein, Gilbert: Provably Good Mesh Generation (1994)

In each quadrilateral incident to p choose diagonal that yields

triangles with better aspect ratio.

p p p

(40)

– 40 –

Quadtrees for Nice Triangulations

Bern, Eppstein, Gilbert: Provably Good Mesh Generation (1994)

Lemma: For each triangle incident to an orange edge the aspect ratio is at most 4, i.e. A(∆) 4.

In each quadrilateral incident to p choose diagonal that yields

triangles with better aspect ratio.

p p p

(41)

– 41 –

Quadtrees for Nice Triangulations

Bern, Eppstein, Gilbert: Provably Good Mesh Generation (1994)

Point needs one layer of empty boxes around its own box.

Need non-interference between layers of different points.

In each quadrilateral incident to p choose diagonal that yields

triangles with better aspect ratio.

p p p

(42)

– 42 –

Splitting Crowded Boxes

Box b is crowded if at least one of the following holds:

b contains more than one point of S

b has side length `, contains a single point p S, but some other point of S is closer than 2

2` to p.

b contains one point of S but one of the 8 neighbors around b has a split side.

(43)

– 43 –

Splitting Crowded Boxes

Box b is crowded if at least one of the following holds:

b contains more than one point of S

b has side length `, contains a single point p S, but some other point of S is closer than 2

2` to p.

b contains one point of S but one of the 8 neighbors around b has a split side.

p

q

made impossible

(44)

– 44 –

Nice triangulation for S:

0. Put a sufficiently large square box Q around S and make the root of a quadtree.

1. while there is a crowded box, split it and ensure balance

2. for each p S move the closest corner of its containing leaf box to p and triangulate the incident quadrilaterals with aspect ratio at most 4

3. triangulate each empty leaf box into at most 8 isosceles right triangles (aspect ratio 2)

(45)

– 45 –

Nice triangulation for S:

0. Put a sufficiently large square box Q around S and make the root of a quadtree.

1. while there is a crowded box, split it and ensure balance

2. for each p S move the closes corner of its containing leaf box to p and traingulate the incident quadrilaterals with aspect ratio at most 4

3. triangulate each empty leaf box into at most 8 isosceles right triangles (aspect ratio 2)

(46)

– 46 –

Results

Lemma: This algorithm produces a triangulation T for S with aspect ration A(T ) at most 4.

(47)

– 47 –

Results

Lemma: This algorithm produces a triangulation T for S with aspect ration A(T ) at most 4.

Lemma: There is a constant c independent of S so that the size of T is at most

c · X

∆∈DT (S)

log R(∆)

where DT (S) is the Delaunay triangulation of S, and R(∆) is the ratio of longest and shortest side of triangle ∆.

(48)

– 48 –

Results

Lemma: This algorithm produces a triangulation T for S with aspect ration A(T ) at most 4.

Lemma: There is a constant c independent of S so that the size of T is at most

c · X

∆∈DT (S)

log R(∆)

where DT (S) is the Delaunay triangulation of S, and R(∆) is the ratio of longest and shortest side of triangle ∆.

Theorem: There is a constant d independent of S so that for any triangulation T 0 that has S in its vertex set we have

|T | ≤ d · |T 0| log A(T 0)

(49)

– 49 –

(50)

– 50 –

Outlook “Nice Triangulations” (Meshing)

Drawbacks of this result:

bad constants

not anisotropic (rotating the coordinate systems changes triangulations)

Viable alternativ algorithms via refining Delaunay triangulations.

Generalization to meshing problems when edges are given as input are possible, but quadtree based approaches have similar shortcomings.

Quadtree based approaches do generalize to higher dimensions.

(51)

– 51 –

Outlook Quadtrees

Quadtrees find many applications in Computer Graphics, Image Processing, Geographic Information Systerm, etc.

They are useful whenver different scales are to be represented

There is a variant “compressed quadtree” that uses just space linear in the size of the input.

“skip quadtrees” allow searches and also updates in logarithmic expected time.

Quadtrees readily generalize to higher dimensions (“octtree”).

(52)

– 52 –

(53)

– 53 –

(54)

– 54 –

(55)

– 55 –

Referenzen

ÄHNLICHE DOKUMENTE

A funny measure on IR Example Want to define r Habra on R Borel the be f Lef numbers rational to mass that assigns measure just be all rational numbers Let q Ok Couaidu.. points in

Du besuchst deinen Brieffreund Phil in England und nimmst an einigen Tagen am Unterricht teil. Er schickt dir im Vorfeld einen Auszug aus der Schulordnung, damit du

paragraph. You need to adjust to the automatic return because, as you will see later, extra returns will cause unintended results. A typewriter space bar moves

This is analogous to what our firm did in regions A and B in the dual price case of our main model but now the firm is not fully extracting consumer surplus on the passenger

Given the fixed budget of the The National Institute for Health and Clinical NHS, the appropriate threshold is that of the oppor- Excellence (NICE) is charged with the task of

It is contained in the interval [0.63987, 0.79890] — the probability that the Jacobian variety of a randomly chosen hyperelliptic curve has a prime number of rational points is a

I 4D (and higher D): critical gravity (L¨ u, Pope ’11, Deser et. al ’11) 2-point correlators match expectations from 3D LCFT (Johansson, Naseh &amp; Zojer ’12). I Higher spin

Follow [Sc14, Section 2.1]: First, introduce simple, projective and injective representations, and present [Sc14, Examples 2.3 and 2.4].. Follow the book with [Sc14, Proposition