/** * Return the area of this cell as accurately as possible. This method is more * expensive but it is accurate to 6 digits of precision even for leaf cells * (whose area is approximately 1e-18). */ public double ExactArea() { var v0 = GetVertex(0); var v1 = GetVertex(1); var v2 = GetVertex(2); var v3 = GetVertex(3); return(S2.Area(v0, v1, v2) + S2.Area(v0, v2, v3)); }