Forum Stats

  • 3,838,757 Users
  • 2,262,398 Discussions
  • 7,900,750 Comments

Discussions

How to find the angle between two required vertices in a poly line in plsql

1008538
1008538 Member Posts: 1
edited May 13, 2013 10:08AM in SQL & PL/SQL
Here my requirement is to get the angle between two x,y coordinates where they are from a poly line.
Pictorial representation is shown for better understanding

(x2,y2) ..................................... (x3,y3)
.
.
.
.
.
.
.
.
.
.
.
.
(x1,y1)

I want to find angle between (x2,y2) and (x3,y3) or (x1,y1) and (x2,y2). Can you please help me in writing a query to find angle between two vertices of a poly line.

Thanks in Advance.

Answers

This discussion has been closed.