C# 클래스 Ensage.Common.Algorithm

Static class for holding general algorithm implementations
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common

공개 메소드들

메소드 설명
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