Skip to content

@mega-yfue/eufy-sdk / pointAtCell

Function: pointAtCell()

ts
function pointAtCell(plane, cell): MapPoint | undefined;

Where a cell sits in the world, in centimetres — the inverse of cellAtPoint.

The point returned is what the cell is anchored at, and cellAtPoint rounds to the nearest cell, so the two round-trip. undefined for a cell outside the plane or a plane with no resolution.

Parameters

plane

PlacedPlane

cell

MapCell

Returns

MapPoint | undefined

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.