moved convexityDefects into wrappers, made ofPolyline version