Polygon.is_planar
-
Polygon.
is_planar
()[source] Determine if the polygon is planar.
- Returns
bool – True if all points of the polygon lie in one plane. False otherwise.
Examples
>>> polygon = Polygon([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0], [0.0, 1.0, 0.1]]) >>> polygon.is_planar() False