Method | Description | |
---|---|---|
CheckIfPointsFitShape ( List |
Check if a shape specified by the set of points fits a convex polygon specified by the set of corners. The method checks if the set of specified points form the same shape as the set of provided corners. |
|
CheckPolygonSubType ( List |
Check sub type of a convex polygon. The method check corners of a convex polygon detecting its subtype. Polygon's corners are usually retrieved using IsConvexPolygon 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. |
|
CheckShapeType ( List |
Check type of the shape formed by specified points.
|
|
IsCircle ( List |
Check if the specified set of points form a circle shape. |
|
IsCircle ( List |
Check if the specified set of points form a circle shape. |
|
IsConvexPolygon ( List |
Check if the specified set of points form a convex polygon shape. |
|
IsQuadrilateral ( List |
Check if the specified set of points form a quadrilateral shape.
|
|
IsQuadrilateral ( List |
Check if the specified set of points form a quadrilateral shape.
|
|
IsTriangle ( List |
Check if the specified set of points form a triangle shape.
|
|
IsTriangle ( List |
Check if the specified set of points form a triangle shape.
|
Method | Description | |
---|---|---|
GetShapeCorners ( List |
public CheckIfPointsFitShape ( List |
||
edgePoints | List |
Shape's points to check. |
corners | List |
Corners of convex polygon to check fitting into. |
return | bool |
public CheckPolygonSubType ( List |
||
corners | List |
Corners of the convex polygon to check. |
return | PolygonSubType |
public CheckShapeType ( List |
||
edgePoints | List |
Shape's points to check. |
return | ShapeType |
public IsCircle ( List |
||
edgePoints | List |
Shape's points to check. |
return | bool |
public IsCircle ( List |
||
edgePoints | List |
Shape's points to check. |
center | Point | Receives circle's center on successful return. |
radius | float | Receives circle's radius on successful return. |
return | bool |
public IsConvexPolygon ( List |
||
edgePoints | List |
Shape's points to check. |
corners | List |
List of polygon corners on successful return. |
return | bool |
public IsQuadrilateral ( List |
||
edgePoints | List |
Shape's points to check. |
return | bool |
public IsQuadrilateral ( List |
||
edgePoints | List |
Shape's points to check. |
corners | List |
List of quadrilateral corners on successful return. |
return | bool |
public IsTriangle ( List |
||
edgePoints | List |
Shape's points to check. |
return | bool |
public IsTriangle ( List |
||
edgePoints | List |
Shape's points to check. |
corners | List |
List of triangle corners on successful return. |
return | bool |