Print at Dec 20, 2025, 10:59:24 AM

Posted by bandara at Jun 23, 2011, 2:24:22 PM
how to get area of room
Hi I saw this topic in earlier too, but our experts answer was get a tape and measure :)

But i really need to get the area of room to call in my plugin.
I know there is a method getArea() in Room class, but it got constructor of float [][].
i.e. Room(float[][] points)

I dont know what value should i pass into this, when create Room object before calling getArea()

Room r =new Room(s1);
float area=r.getArea();

What i should pass to s1.

Funny thing is, when we draw room, it shows area inside it, but i cant get it to my plugin. :)