Book a Demo

Author Topic: Where is the centre of the line?  (Read 3305 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Where is the centre of the line?
« on: November 01, 2016, 05:55:02 pm »
We have a shape script that places a glyph in the centre of the line (0,50).  We use this glyph in concert with the Association Class link (which also links to the centre of the line).
Normally this work very well, but today, imagine my surprise when the glyph was on one section and the link was on another...  It seems like there's a (wait for it) inconsistency in where the centre of the line is.

It would be nice if (0,50) was actually at the centre of the line, rather than somewhere along the "centre" segment of the line (it's not even in the centre of the centre section).

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!