|
SimpleShapeCheckerCheckPolygonSubType Method
|
Check sub type of a convex polygon.
Namespace:
Accord.Math.Geometry
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public PolygonSubType CheckPolygonSubType(
List<IntPoint> corners
)
Public Function CheckPolygonSubType (
corners As List(Of IntPoint)
) As PolygonSubType
Request Example
View SourceParameters
- corners
- Type: System.Collections.GenericListIntPoint
Corners of the convex polygon to check.
Return Value
Type:
PolygonSubTypeReturn detected sub type of the specified shape.
Remarks The method check corners of a convex polygon detecting
its subtype. Polygon's corners are usually retrieved using IsConvexPolygon(ListIntPoint, ListIntPoint)
method, but can be any list of 3-4 points (only sub types of triangles and
quadrilateral are checked).
See AngleError and LengthError properties,
which set acceptable errors for polygon sub type checking.
See Also