I tried to find distance between point to polygon with static function “DistanceToPolygon”
As per documentation 3rd argument should be points which I assumed list of tuples which contain xyz.
https://vtk.org/doc/nightly/html/classvtkPolygon.html#a62b623f284a7fb01894fb2b8df8e85da
But giving me error
DistanceToPolygon argument 3: must be real number, not tuple