MoI discussion forum
MoI discussion forum

Full Version: Line order and direction

Show messages:  1-19  20-22

From: Michael Gibson
16 Sep 2020   [#20] In reply to [#16]
Hi Wayne, another way you can determine the direction just using 2D points is to make a 2D triangle and then compute the signed area of the triangle:
https://www.quora.com/What-is-the-signed-Area-of-the-triangle?share=1

It will be a positive number for CCW, and a negative number for CW.

- Michael
From: wayne hill (WAYNEHILL5202)
17 Sep 2020   [#21] In reply to [#19]
Hi Michael,

Yes, I am only using the top view plane. The methods you suggested will be looked at in closer detail.

Thank you.
Wayne
From: pressure (PEER)
12 Sep   [#22]
Here's a small update to the orderCurves plugin that works on curves smaller than 1 unit long.

Attachments:
orderCurves.zip


Show messages:  1-19  20-22