@Gerri777 - Just thought i'd chime in because i've had to do the same thing; getting area, among many other metrics.
Once you have the 2D data (or even the 3D data), 90% of what you will want to do with the data will be outside of the RoomPlan API, and even outside of the AR Kit API. You're on your own. However, most of these things are quite easy to do with open source libraries. For example, to get area, you simply need a polygon of your room points.
Post
Replies
Boosts
Views
Activity
@AnjaliNirmale hi, the longest continuous line is really arbitrary - I use the longest wall only because for my use case the longest wall will likely result in the best looking floor plan on a desktop screen (imaging your floor plan image above rotated so it is wide, and not tall), and its prob the easiest reference to get - just iterate your collection of walls and grab the one that has the longest length. on a mobile device, you may want to take that longest wall and rotate it to be vertical.
hi, just wondering if you got this working and/or full source code for this? Im looking to do something similar but I am new to Swift/IOS so it would really help to see an end-to-end solution. thanks!
@ArthurPhilipenko - wondering if you got this working and/or got the full source code for this... I am also working on understanding the specifics of how this can be accomplished, but the snippets have left me with many questions (I am new to swift and xcode). Ideally, I would be able to step through this as I debug to better understand the end-to-end process. Thanks!