[Libreoffice-ux-advise] [Bug 156549] New CAD features for cable design

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 4 14:01:06 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=156549

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #3 from Regina Henschel <rb.henschel at t-online.de> ---
There exist the methods getLength() and getEdgeLength() for our internal 
B2DPolygon class. I think, Enrico wants such tool in the UI.

The list of points is available in the API for all polyline, polygon and curve
objects. The total edge length can be determined using macros. If you only want
to get the length in an info box, that is simple. More difficult and complex
would be to produce an object in the drawing, that adapt itself to changes in
the drawing. I don't know whether that is possible with macros.

https://opengrok.libreoffice.org/xref/core/basegfx/source/polygon/b2dpolygontools.cxx
https://opengrok.libreoffice.org/xref/core/include/basegfx/polygon/b2dpolygontools.hxx

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list