public static ContourPolygonArea ( CvContourPolygon polygon ) : double | ||
polygon | CvContourPolygon | Contour (polygon type). |
return | double |
public static double ContourPolygonArea(CvContourPolygon polygon)
{
if (polygon == null)
throw new ArgumentNullException(nameof(polygon));
return polygon.Area();
}