Click or drag to resize
Accord.NET (logo)

ConvexityDefect Constructor

Initializes a new instance of the ConvexityDefect class.

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public ConvexityDefect(
	int point,
	int start,
	int end,
	double depth
)
Request Example View Source

Parameters

point
Type: SystemInt32
The most distant point from the hull.
start
Type: SystemInt32
The starting index of the defect in the contour.
end
Type: SystemInt32
The ending index of the defect in the contour.
depth
Type: SystemDouble
The depth of the defect (highest distance from the hull to any of the contour points).
See Also