[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
hgnet
General User

Joined: 22 Dec 2005
Posts: 21

 Posted: Sat Oct 27, 2007 6:20 am    Post subject: Calculate square occupied by shapes Dear colleagues, I currently use OO Draw to evaluate real estate. Therefor I cover plans (scans) with shapes (rectangles, triangles, trapezoid) and then set the measurements in relation to reality to calculate manually the square of, e.g., a room. Does anyone know a function, add-on etc. to calculate the square covered by some shape (maybe even of free-hand drawings -- rooms are not always rectangular . . .) automatically? Thanks, Herbert
acknak
Moderator

Joined: 13 Aug 2004
Posts: 4295
Location: ~ 40°N,75°W

 Posted: Sat Oct 27, 2007 10:16 am    Post subject: There is no such function in OOo. You might ask over on the Macros & API forum, although I think for anything other than the simplest case (a sum of rectangular areas), this is going to require a clever algorithm. PS: Actually, the construction of the algorithm must be very clever, but the actual code for the calculation itself is very simple! See, e.g. this thread: http://valis.cs.uiuc.edu/~sariel/research/CG/compgeom/msg00824.html, and follow-up answers.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum