Author Topic: Quadrants  (Read 5512 times)

0 Members and 1 Guest are viewing this topic.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Quadrants
« Reply #15 on: June 30, 2016, 04:58:51 AM »
If you limit the orientation of the lines to N, NE, E etc., consider N+NE to be equal to NE+N etc., and include the cases where the lines are superimposed, there a [8*8]/2 = 32 combinations.
:embarrassed: Oops. I stand corrected. As Kdub demonstrates there are 36 combinations.

https://www.mathsisfun.com/combinatorics/combinations-permutations.html
« Last Edit: June 30, 2016, 05:22:51 AM by roy_043 »

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Quadrants
« Reply #16 on: June 30, 2016, 09:56:09 AM »
Try this :
Note: Check the Bit values for veracity ... I rushed this a little

Thank you kdub!

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2135
  • class keyThumper<T>:ILazy<T>
Re: Quadrants
« Reply #17 on: June 30, 2016, 08:03:36 PM »

You're welcome.

Perhaps the assignment of bit values would be more logical if E=1 , N=2 etc progressing counter-clockwise with the increased angular value ; similarly with quadrant nominations.

Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.