Top Banner
I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object is polyhedral. The mold has only one piece. Spherical objects cannot be manufactured using a mold of one piece. The object should be removed by only a single translation. Real screws cannot be removed by just a translation. mold 2
21

I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Dec 16, 2015

Download

Documents

Priscilla Lane
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

I. The Problem of Molding

Does a given object have a mold from whichit can be removed?

object not removable

mold 1

objectremovable

Assumptions

The object is polyhedral.

The mold has only one piece.

Spherical objects cannot be manufacturedusing a mold of one piece.

The object should be removed by only a single translation.

Real screws cannot be removed by just a translation.

mold 2

Page 2: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Castability

How to choose the orientation?

The object has a horizontal top facet – the only one not in contact with the mold.

# possible orientations = # facets.

An object is castable if it is removable from its mold for oneof the orientations.

Because every facet may become horizontal.

How to determine that the object is castable?

For each potential orientation, determine whether there exists a direction along which the object can be removed from the mold.

Page 3: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Making Things More Precise

polyhedron

The mold is a rectangular block with a concavity that exactly matches the polyhedron.

Page 4: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Necessary Condition for Removal

21cos vv

polyhedron

1v

2v (necessary condition)

angle between two vectors

Page 5: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Also a Sufficient Condition

Proof () By contradiction.

() By contradiction.

Page 6: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

One Trans. vs. Multiple Trans.

Polyhedron removable by a sequence of translations.

Allowing for multiple translations does not help.

Page 7: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Representing a Direction

Page 8: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Geometric Interpretation

0 zyyxx ndndn

Page 9: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Geometric Formulation

The intersection of all such half-planesis the set of points that correspond to a direction in which the polygon can be removed.

Given a set of half-planes, compute their common intersection.

Castability test: Enumerate all facets as top facet.

Page 10: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

II. Intersection of Half-Planes

Their intersection must be a convex set, more specifically,

each a convex set!

A convex polygonal region.

May be unbounded

May degenerate into a line, segment, a point, or an empty set.

Page 11: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Some Possible Cases

Page 12: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

A Divide-and-Conquer Algorithm

Page 13: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Intersection of Convex Regions

#vertices #intersections

Modify the algorithm to intersect two convex regions.

Page 14: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

The Recurrence

Page 15: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Improvement

The subroutine for intersection of convex regions is a transplantfrom that for intersecting two simple polygons.

We made use of the convexity in our analysis.

Can we do better?

But we haven’t taken full advantage of convexity yet …

Yes!

Assumption (non-degeneracy):

The regions to be intersected are 2-dimensional.

(The degenerate cases are easier.)

Page 16: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Representing a Convex Region

leftboundary

rightboundary

Left and right boundaries as sorted lists of half-planes duringtraversals from top to bottom.

Vertices can be easily computed by intersecting consecutive bounding lines.

But they are stored explicitly.

Page 17: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Plane Sweep AgainAssumption: no horizontal edge (easy to dealt with if not true).

l_e_C1, r_e_C1, l_e_C2, r_e_C2

At most four edges intersecting the sweep line.

Corresponding pointer set to nil if no intersection.

r_e_C1l_e_C1

l_e_C2

r_e_C2 = nil

Page 18: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

No Event Queue

Next event point:

Highest of the lower endpoints of the four edges that intersect the sweep line.

Start at

The new edge e is one of the following:

Page 19: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Left Boundary of Chain 1

This can be determined by checking whetherp is between l_e_C2 and r_e_C2.

l_e_C2

l_e_C2

2 new edges

Page 20: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

cont’de intersects r_e_C2.

r_e_C2 r_e_C2

Case 1. The new edges start at the intersection.

Case 2. The new edges end at the intersection.

Do nothing because these edges have been discovered.

Page 21: I. The Problem of Molding Does a given object have a mold from which it can be removed? object not removable mold 1 object removable Assumptions The object.

Running Time

Recurrence for the total running time: