OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Calculate square occupied by shapes

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw
View previous topic :: View next topic  
Author Message
hgnet
General User
General User


Joined: 22 Dec 2005
Posts: 21

PostPosted: Sat Oct 27, 2007 6:20 am    Post subject: Calculate square occupied by shapes Reply with quote

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
Back to top
View user's profile Send private message
acknak
Moderator
Moderator


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

PostPosted: Sat Oct 27, 2007 10:16 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group