C# Класс Ensage.Common.Algorithm

Static class for holding general algorithm implementations
Показать файл Открыть проект

Открытые методы

Метод Описание
MaximalEnclosingCircle ( uint>.List vector, float radius ) : System.Vector2

Finds a circle enclosing the maximum possible number of given vectors, with their weights.

MaximalEnclosingCircle ( List vector, float radius ) : System.Vector2

Finds a circle enclosing the maximum possible number of given vectors.

Приватные методы

Метод Описание
MaximalEnclosingCircleCompare ( uint>.List vector, float radius, System.Vector2 candidate, System.Vector2 &oldCenter, uint &oldContain ) : void

Описание методов

MaximalEnclosingCircle() публичный статический Метод

Finds a circle enclosing the maximum possible number of given vectors, with their weights.
Thrown when vector list is empty or radius is negative
public static MaximalEnclosingCircle ( uint>.List vector, float radius ) : System.Vector2
vector uint>.List List of the Tuples containing vectors and weight of the vector.
radius float Radius of the enclosing circle
Результат System.Vector2

MaximalEnclosingCircle() публичный статический Метод

Finds a circle enclosing the maximum possible number of given vectors.
Thrown when vector list is empty or radius is negative
public static MaximalEnclosingCircle ( List vector, float radius ) : System.Vector2
vector List List of the vectors.
radius float Radius of the enclosing circle
Результат System.Vector2