google / s2-geometry-library-java

Automatically exported from code.google.com/p/s2-geometry-library-java
Apache License 2.0
538 stars 230 forks source link

Query on polylines #20

Closed nakulmandal closed 3 years ago

nakulmandal commented 5 years ago

Hi, what is the recommended way to find two polylines (intersecting each other) are in same direction. Is there any function written for it?

Any Help??

eengle commented 3 years ago

What do you mean by "same direction"? Do two lines that cross each other obliquely both heading more or less north, but then bend off toward the west and east later in the line, count as same direction or not?