• No results found

Tetrahedron Meshes. Linh Ha

N/A
N/A
Protected

Academic year: 2021

Share "Tetrahedron Meshes. Linh Ha"

Copied!
74
0
0

Loading.... (view fulltext now)

Full text

(1)

Tetrahedron

Meshes

(2)

Overview

 Fundamental Tetrahedron meshing

Meshing polyhedra Tetrahedral shape

Delaunay refinements Removing silver

(3)

Meshing Polyhedra

 Is that easy ?

 A Polyhedron is union of convex polyhedra

i I

i

H

(4)
(5)

Facets and Segments

 Neighborhood of x

b : open unit ball

 Face figure of x

 Face of P: closure of maximal collection of point with identical face figures

(

x b

)

P Nε = + ε .

( )

(

N

x

x

)

(6)

What does it look like ?

 1- Faces

Face figures a line Polyhedra segment

 2- Faces

Face figure a plane Polydedra facets

(7)

 24 verties, 30 segments, 11s facets

(8)

Tetrahedrization

Tetrahedrization of P is a simplicial complex

K whose underlying space is P: |K|=P

Only bounded polyhedra have tetrahedrization Every vertex of P is vertex of K

(9)

Is that easy ?

 Prim – easy : 3 tetrahedrons

(10)

 Ruppert and Seidel: the problem of deciding if a polyhedron can be tetrahedrized without inserting extra vertices is NP-hard and problem of deciding if a polyhedron can be tetrahedrized with only k additional vertices is NP-hard.

8 tetrahedrons , 7verties, 12 edges, 8 triangles

A C B a b c M

(11)

Fencing off - Simple methods

(12)

Fencing algorithms

 Step1: Erect the fence of each segment.  Step2:Triangulate the bottom facet of

every cylinder and erect fences from the new segments

 Step3:Decompose each wall into triangles and finally tetrahedrize each cylinder by

constructing cones from an interior point to the boundary.

(13)

Limits

 Upper bound: 28m2 - number of

tetrahedrons for m-segments Polyhedra

 Lower bound: (n+1)2 with n : number of cut

(14)

Tetraheral Shape

 What is good and bad tetrahedra ?  Bad tetrahedra

(15)

Bad tetrahedral classification

 Skinny: vertices are close to a line

 Flat : vertices are close to a plane

(16)

Quality Metrics

 2D : minimum angle in the triangulation  3D : Radius-edge ratioAspect ratioVolume ratio R: outer radius L : shortest egde r: inner radius V: volume

(17)

Ratio properties

 A mesh of tetrahedra has ratio property if for all tetrahedra

 For all triangles

 Characteristics:

Claim A: if abc is a triangle in K then

Proof: geometry  Ratio properties 0 ρ ρ ≤ 0 ρ ρ ≤ b a c a b a − ≤ − ≤ 0 − 0 2 2 / 1 ρ ρ R b a− ≤ 2 0 /ρ R b a− ≥ 0 2 / ρ a c R R ≤ − ≤

(18)

Ratio property

 Denote

 Claim B: if angle between ab and ap less than then

(

1/ 4

)

2 arctan 2 0 0 0 = ρ − ρ − η 0 η b a p a b a − ≤ − ≤ 2 − 2 / 1 Proof: ( ) a b b a R R b a b a R R v a − − − ≥ − − + − = − − − = − . 4 / 1 4 / 4 / 4 / 0 0 2 2 2 ρ ρ ( )

(

)

0 2 0 1/4 2 arctan / 2 arctan η ρ ρ = − − ≥ − − = ∠ o b a v x bax

(19)

Length Variation and Constant

degree

 Length variation: if ab, ap are edges in K

Lengths of edges with common endpoint is

bound

 Constant degree : Every vertex a in K belong to at most

However this constraint is too loose

( ) (1 cos / 4 ) / 2 0 0 = − η m 1 0 1 2 0 2 0 0 − − = m m v ρ b a v p a v b a − / 0 ≤ − ≤ 0

(

2

)

3 0 0 = 2v + 1 δ

(20)

Delaunay Triangulation

(21)
(22)

Properties of Delaunay triangulation

 maximizing the minimum angle in the triangulation:

 Better lighting performance

 Improvements on the accuracy

 Even stronger: lexicographically maximized sequence of

angles

 Every triangle of a Delaunay triangulation has an

(23)

Delaunay Tetrahedration

Every tetrahedra of a Delaunay Tetrahedration

has an empty circumsphere. However

max-min angle optimality in 2D dont’s

maintain

(24)

Left: Delaunay tetrahedralization: have arbitrarily thin tetrahedron known as a sliver

(25)

Edge flip

Incremental algorithms in 2D: edge flips

(26)
(27)
(28)
(29)
(30)

Problems

 Segment that not cover by the edges

 Faces are not covered by triangles of D

Have to add new points and update Delaunary tetrahedration

 well-spaced points generate only round or well-spaced points generate only round or sliver Delaunay tetrahedra

(31)

Delaunary refinement

 Construct Delaunary tetrahedration has ratio property  Definition  encroached upon sub – segment  encroached upon sub – facet V a b V A B C

(32)

Refinement algorithms

Rule1: If a subsegment is encroached upon, we

split it by adding the mid- point as a new vertex to the Delaunay tetrahedrization

Rule2 : If a subfacet is encroached upon, we

split it by adding the circum-centre x as a new vertex to the Delaunay tetrahedrization

Rule3: If a tetrahedron inside P has

then split the tetrahedron by adding the

circumcentre x as a new vertex to the Delaunay tetrahedrization

 Proprity : Rule1 > Rule2 > Rule3

0

/ L > ρ R

(33)
(34)

Local density

Local feature size :f R3 – R, f(x) f varies slowly with x

Insertion radius : rx length of the shortest Delaunay edge

(35)

Radii and Parrents

 Parent vertex: p(v) is the vertex that is “responsible” for the insertion of v

(36)

Radius claims

 Let x be a vertex of D and p is its parents, if it exits. Then or where

if x has type 1 or 2 and

( )

x f rxrx c.rp 2 / 1 = c c = ρ 0

(37)

Graded meshes

 Ratio claim: Let x be a Delaunay vertex with

parent and Then

 Invariant: if x is a type I vertex in the Delaunay

tetrahedrization, for i=1..3 then

 Conclusion: p x c r r ≥ .

( )

( )

p x f p c r r x f ( ) / ≤ 1+ / . ( ) i x f x C r ≥ /

( ) (

x / 1 C1

)

f y x − ≥ +

(38)

Silver exudation

 Silver exits frequently between well shaped

(39)

Variational Tetrahedral Meshing

Pierre Alliez Pierre Alliez David Cohen-Steiner David Cohen-Steiner Mariette Yvinec Mariette Yvinec Mathieu Desbrun Mathieu Desbrun

(40)

Goal

 Tetrahedral mesh generation  Focus on:

quality: shape of elements control over sizing

 dictated by simulation  constrained by boundary  low number of elements

(41)

Quality Metrics

 3D :

Radius-edge ratioAspect ratio

Volume ratio

 In the paper use Radius ratio = Aspect

ratio – “fair” to measure silver

R: outer radius L : shortest egde

r: inner radius

(42)

Popular Meshing Approaches Optimization: • spring energy • aspect ratios • dihedral angles • solid angles • volumes • edge lengths

• containing sphere radii • etc.

[Freitag et al.; Amenta et al.]

[Freitag et al.; Amenta et al.]

 Advancing front  Specific subdivision  octreecrystalline lattice  Delaunay  refinementsphere packing

(43)

Delaunay Triangulation

(44)

Optimizing Vertex Placement

Improve compactness of Voronoi cells by minimizing

∑ ∫

= ∈ − = k j x R j j dx x x x E .. 1 2 || || ) ( ρ

Necessary condition for optimality:

Centroidal Voronoi Tessellation (CVT) site

(45)

Optimizing Vertex Placement

CVT [Du-Wang 03]

best PL approximantcompact Voronoi cellsisotropic sampling optimized dual Best L1 approximation of paraboloid Vi:local cell

(46)

Alas, Harder in 3D...

well-spaced points generate only round or well-spaced points generate only round or sliver Delaunay tetrahedra

(47)

Alas, Harder in 3D...

• well-spaced points generate only round or well-spaced points generate only round or

sliver Delaunay tetrahedra

sliver Delaunay tetrahedra

regular tetrahedron does not tile space regular tetrahedron does not tile space (360

(360°° / 70.53 / 70.53°° = 5.1) = 5.1)

dihedral angle of the

dihedral angle of the

regular tetrahedron regular tetrahedron = = arcos(1/3) arcos(1/3) ∼ 70.53° 70.53°

(48)

Idea: Underlaid

vs

Overlaid

CVT

best PL approximantcompact Voronoi cellsisotropic sampling

ODT [Chen 04]

best PL interpolant

compact simplices – not

dual

isotropic meshing

Best L1 approximation

(49)
(50)

Rationale Behind ODT

 Approximation theory:

linear interpolation: optimal shape of an

element related to the Hessian of f

[Shewchuk]

 Hessian(||x||2) = Id

(51)

 Which PL interpolating mesh best approximates the paraboloid?

for fixed vertex locations

 Delaunay triangulation is the optimal connectivity

for fixed connectivity

 min of quadratic energy leads to the optimal vertex

locations

(52)

Optimizing Connectivity

 Delaunay triangulation is the optimal connectivity

(53)

Optimizing Vertex Position

Simple derivation in xi lead to optimal position in its 1-ring

(54)

Optimal Update Rule

circumcenter x xii

Ω ∈

=

i j j j i i

c

x

τ

τ

|

|

|

|

1

*

(55)

Optimization

Alternate updates of

connectivity (Delaunay triangulation) vertex locations

(56)

Optimization: Init

distribution of radius ratios

distribution of radius ratios good

(57)

Optimization: Step 1

good

(58)

Optimization: Step 2

distribution of radius ratios

distribution of radius ratios good

good

bad

(59)

Optimization: Step 50

distribution of radius ratios

distribution of radius ratios good

(60)
(61)

Sizing Field

Goal reminder:

minimize number of elements better approximate the boundary

while preserving good shape of elements

Those are not independent!

(62)

Automatic Sizing Field

Properties:

 size ≤ lfs (local feature size) on boundary  sizing field = maximal K-Lipschitz

[

||

||

(

)

]

inf

)

(

x

K

x

y

lfs

y

y

+

=

Ω ∂ ∈

µ

parameter

(63)

Sizing Field: Example

K=1K=1 K=1

(64)

3D Example

local feature size

local feature size sizing fieldsizing field

Ω ∈

=

i j j j i i

c

x

τ

τ

|

|

|

|

1

*

(65)
(66)
(67)
(68)

Hand

local feature size

(69)
(70)

Torso

(71)
(72)
(73)

Conclusion

 Generate high quality isotropic tetrahedral meshes (improved aspect ratios)

 Simple alternated optimizations

 connectivity: Delaunay

 vertex positions: weighted circumcenters

 Good in practice

 Limit

 Approximate input boudary intead of comforming

(74)

References

Related documents

If this patient develops acute severe congestive failure with pulmonaryedema, which one of the following would be most useful?. (A) Furosemide (B) Guanethidine (C) Minoxidil

By denying women the access to legal abortions, the state has violated women’s right to life and has resulted in El Salvador having one of the highest maternal

For these Sub- contractors it would be sensible for Contractors to ask to see their HMRC confirmation letter before April 2007 to ensure information held in their records will

Marriage contract of Louis Monnet, major son of deceased Pierre Mathieu Monnet and deceased Babet [Elisabeth] Rachal, native of Natchitoches, with Widow Baptiste Dupré,

Thus Aut(l3) has order 9·8·6, is doubly transitive on the points, and the stabilizer of two points a, b fixes the third point on the line through a and b, and is

• Historical Manuscript Reviewer, Highlights (children’s magazine), 2012 • Judge, East Tennessee History Day, Knoxville, March 1, 2010, March 7, 2011. • Conference Session

 Little research in politically charged, violent environment, health services research is neglected (WHO, 2008)?.  Many logistical &

This allows the Integration Service to update the target incrementally, rather than forcing it to process the entire source and recalculate the same data each time you run