pub fn polygon_to_mesh<Scalar: CoordFloat>( polygon: impl PolygonTrait<T = Scalar>, ) -> Result<PolygonMesh, Error>