• Embed Doc
  • Readcast
  • Collections
  • 1
    CommentGo Back
Download
 
CSE 555 Spring 2010 HW #7
Chao Xu(106978083)
(1)
8.1
For line
l
:
y
=
mx
+
b
and any point
p
= (
a,ma
+
b
+
c
).The duals are
l
= (
m,
b
) and
p
:
y
=
ax
(
ma
+
b
+
c
)If 
c
= 0 we have
p
incident with
l
.Let
x
=
m,c
= 0. We have
p
goes through point (
m,
b
). It proves dual preserves incidence.Let
c >
0. We have
p
goes through point (
m,
b
c
), which is below
l
. It proves dual preserves order.
8.2
a. There are a few possible conditions, Either a point in the triangle lies above two lines formed by thevertices and below the other, or lie below two lines and above the other, this depend on the configurationof the triangle. wlog, let all points in the triangle lies below
pq
,
qr
and above
pr
. Then the dual wouldbe all the lines lies above (
 pq
)
,
(
qr
)
and below (
 pr
)
.b. Remove a segment from a line, then it creates a top-bottom double wedge. If one have a segment, andextend it. The dual become wider and wider double wedge. Eventually it will almost cover the entireplane. Then remove a left-right double wedge, we have a top-bottom double wedge.
8.3
+
= 2
= 2
+
= 2
n
(
n
1)
/
2 +
n
2
2
= 4
n
2
+
n
+ 2
n
2
2
= 4 +
n
+
n
2
= 2 +
n/
2 +
n
2
/
2The face at infinity is not counted, therefore we have
= 1 +
n/
2 +
n
2
/
2
(3)
a. Convert the problem into the dual plane stored as DCEL in
O
(
n
2
) time. now walk from face to face.Starting from the top most left face, count
k
the double wedge it is in
O
(
n
) time. Then move to thenext face, this move it either move outside a double wedge or move into a double wedge, which can becomputed by checking which face is inside a wedge defined by the common edge. Mark the face it moveinto to be
k
+ 1 or
k
1 depend on if it moves outside a double wedge or moves inside one. When it iscomputed for all faces in
O
(
n
2
) time, run through every face see if any face is marked with
n
. If thereexist one, return true, else return false.1
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...