You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Features » AVL.Points3DMedian
Computes the geometric median of the input points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void Points3DMedian ( IList<AvlNet.Point3D> inPoints, int inMaxIterationCount, out AvlNet.Point3D outGeometricMedian )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<AvlNet.Point3D> | Input points. | ||
![]() | inMaxIterationCount | int | <1, INF> | 10 | Maximum number of iterations. Default value: 10. |
![]() | outGeometricMedian | AvlNet.Point3D | Geometric median. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Input arrays must be of the same size in Points3DMedian. |
| DomainError | Input point array is empty in Points3DMedian. |
Function Overrides
- Points3DMedian(IList<Point3D>, NullableRef<IList<Single>>, Int32, Point3D)
- Points3DMedian(IList<Point3D>, NullableRef<IList<Single>>, Int32, Point3D, NullableValue<Single>)
- Points3DMedian(IList<Point3D>, NullableRef<IList<Single>>, Int32, Point3D, Single, IList<Point3D>)
- Points3DMedian(IList<Point3D>, NullableRef<IList<Single>>, Int32, Point3D, NullableValue<Single>, IList<Point3D>)


