ios – Getting measurements with RoomPlan


JSON for the CapturedRoom object in iOS RoomPlan library looks like this:

"walls": [
{
      "completedEdges": [ ],
      "story": 0,
      "curve": null,
      "identifier": "1786EBF8-1C92-486A-9B99-D6168FDF6052",
      "parentIdentifier": null,
      "confidence": {
            "high": { }
      },
      "category": {
            "wall": { }
      },
      "dimensions": [
            2.6529655,
            2.415,
            0
      ],
      "transform": [
            -0.50751626,
            0,
            0.8616421,
            0,
            0,
            1,
            0,
            0,
            0.8616421,
            0,
            0.50751626,
            0,
            -0.49793836,
            -0.16968237,
            -0.6089062,
            1
      ],
      "polygonCorners": [ ]
}

I’m wondering, since apps using LiDAR are able to take accurate measurements, how would I be able to do the same with the RoomPlan data? Is there some conversion that can tell me the length and width of my wall with this data? I’m finding very little documentation in regards to measurements of the data.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img