Метод | Описание | |
---|---|---|
FindQuadrilateralCorners ( IEnumerable |
Find corners of quadrilateral or triangular area, which contains the specified collection of points. The method makes an assumption that the specified collection of points form some sort of quadrilateral/triangular area. With this assumption it tries to find corners of the area. See QuadrilateralRelativeDistortionLimit property for additional information. |
|
GetBoundingRectangle ( IEnumerable |
Get bounding rectangle of the specified list of points.
|
|
GetCenterOfGravity ( IEnumerable |
Get center of gravity for the specified list of points.
|
|
GetFurthestPoint ( IEnumerable |
Find furhtest point from the specified point.
|
|
GetFurthestPointFromLine ( IEnumerable |
Find the furhtest point from the specified line. The method finds the furthest point from the specified line. Unlike the GetFurthestPointsFromLine( IEnumerable{IntPoint}, IntPoint, IntPoint, out IntPoint, out IntPoint ) method, this method find only one point, which is the furthest away from the line regardless of side from the line. |
|
GetFurthestPointFromLine ( IEnumerable |
Find the furhtest point from the specified line. The method finds the furthest point from the specified line. Unlike the GetFurthestPointsFromLine( IEnumerable{IntPoint}, IntPoint, IntPoint, out IntPoint, out double, out IntPoint, out double ) method, this method find only one point, which is the furthest away from the line regardless of side from the line. |
|
GetFurthestPointsFromLine ( IEnumerable |
Find two furhtest points from the specified line. The method finds two furhtest points from the specified line, where one point is on one side from the line and the second point is on another side from the line. |
|
GetFurthestPointsFromLine ( IEnumerable |
Find two furhtest points from the specified line. The method finds two furhtest points from the specified line, where one point is on one side from the line and the second point is on another side from the line. |
|
Shift ( IList |
Shift cloud by adding specified value to all points in the collection.
|
public static FindQuadrilateralCorners ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search quadrilateral for. |
Результат | List |
public static GetBoundingRectangle ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to get bounding rectangle for. |
minXY | IntPoint | Point comprised of smallest X and Y coordinates. |
maxXY | IntPoint | Point comprised of biggest X and Y coordinates. |
Результат | void |
public static GetCenterOfGravity ( IEnumerable |
||
cloud | IEnumerable |
List of points to calculate center of gravity for. |
Результат | DoublePoint |
public static GetFurthestPoint ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search furthest point in. |
referencePoint | IntPoint | The point to search furthest point from. |
Результат | IntPoint |
public static GetFurthestPointFromLine ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search furthest point in. |
linePoint1 | IntPoint | First point forming the line. |
linePoint2 | IntPoint | Second point forming the line. |
Результат | IntPoint |
public static GetFurthestPointFromLine ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search furthest points in. |
linePoint1 | IntPoint | First point forming the line. |
linePoint2 | IntPoint | Second point forming the line. |
distance | double | Distance between the furhtest found point and the given line. |
Результат | IntPoint |
public static GetFurthestPointsFromLine ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search furthest points in. |
linePoint1 | IntPoint | First point forming the line. |
linePoint2 | IntPoint | Second point forming the line. |
furthestPoint1 | IntPoint | First found furthest point. |
furthestPoint2 | IntPoint | Second found furthest point (which is on the
/// opposite side from the line compared to the |
Результат | void |
public static GetFurthestPointsFromLine ( IEnumerable |
||
cloud | IEnumerable |
Collection of points to search furthest points in. |
linePoint1 | IntPoint | First point forming the line. |
linePoint2 | IntPoint | Second point forming the line. |
furthestPoint1 | IntPoint | First found furthest point. |
distance1 | double | Distance between the first found point and the given line. |
furthestPoint2 | IntPoint | Second found furthest point (which is on the
/// opposite side from the line compared to the |
distance2 | double | Distance between the second found point and the given line. |
Результат | void |
public static Shift ( IList |
||
cloud | IList |
Collection of points to shift their coordinates. |
shift | IntPoint | Point to shift by. |
Результат | void |