subject
Computers and Technology, 06.05.2020 06:23 Curtez1

For the convex hull algorithm we have to be able to test whether a point r lies left or right of the directed line through two points p and q. Let p = (px, py), q = (qx, qy), and r = (rx, ry).
a) Show that the sign of the determinant
1 pxpy
D= 1qxqy
1 rxry
determines whether r lies left or right of the line.
b) Show that |D| in fact is twice the area of the triangle determined by p, q, and r.
c) Why is this an attractive way to implement the basic test in algorithm CONVEXHULL? Give an argument for both integer and floating point coordinates.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Click the "draw structure" button to activate the drawing utility. draw two diastereomers of (1z,4r)−1,4−dimethylcyclodecene and name them, including (e)/(z) and (r)/(s) notation. part 1 out of 4 draw the diastereomer containing a chiral center with s configuration here. window open
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
For the convex hull algorithm we have to be able to test whether a point r lies left or right of the...
Questions
question
Mathematics, 02.11.2020 19:10
question
Mathematics, 02.11.2020 19:10
question
Mathematics, 02.11.2020 19:10
question
Mathematics, 02.11.2020 19:10
question
Physics, 02.11.2020 19:10