Author Topic: Direction check  (Read 1367 times)

0 Members and 1 Guest are viewing this topic.

Anonymous

  • Guest
Direction check
« on: February 03, 2005, 03:18:08 AM »
Hello all,
I have lwpolyline network drawing.
Here I will pass a source point for this network. from that point wahtever polylines connected to that, the direction of polyline should be away from that point. means it's like a waterfall. If any polyline opposite to the flow it should mark it as error.
Any ideas. :idea:

CAB

  • Global Moderator
  • Seagull
  • Posts: 10387
Direction check
« Reply #1 on: February 03, 2005, 08:06:52 AM »
Forgive my ignorance but I don't know what a "lwpolyline network drawing" is.

And does "I will pass a source point for this network" mean the end point of
are you talking about a point that you have picked thinking it was the end point.

When you say "the direction of polyline should be away from that point" and
"polyline opposite to the flow"  are you wanting to see if the pline selected
is the "Starting point" in the pline data and any pline connected to the end
of that has it's "Start Point" equal to the previous pline endpoint.?

Curious why the "Start" & "end" would matter? If your following the vertex points
it just a matter of reversing the list.

And who is this masked man anyway? :)
Sounds like a question from subbup.
I've reached the age where the happy hour is a nap. ()
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.