You are here:
Start »
AVL.NET »
AVL.PointsMedian Method
AVL.PointsMedian Method
Computes the geometric median of the input points.
Namespace: | AvlNet |
Assembly: | AVL.NET.dll |
Syntax
public static void PointsMedian(
AvlNet.Point2D[] inPoints,
int inMaxIterationCount,
out AvlNet.Point2D outGeometricMedian
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
| inPoints | AvlNet.Point2D | | | Input points. |
| inMaxIterationCount | int | <1, INF> | 10 | Maximum number of iterations. Default value: 10. |
| outGeometricMedian | AvlNet.Point2D | | | Geometric median. |
Errors
Error type |
Description |
DomainError |
Input point array is empty in PointsMedian. |
See also