C# Class FortuneVoronoi.Tools.Math

Afficher le fichier Open project: homoluden/fukami

Méthodes publiques

Свойство Type Description
R System.Random

Méthodes publiques

Méthode Description
CopyToArray ( ICollection L, Type T ) : Array
DAAdd ( double A, double B ) : double[]
DADist ( double A, double B ) : double
DAMean ( double A ) : double
DAMult ( double A, double r ) : double[]
DASkalar ( double A, double B ) : double
DAStdv ( double A, double M ) : double
DASum ( double A ) : double
Dist ( double x1, double y1, double x2, double y2 ) : double
GetAngle ( double x, double y ) : double
GetAngleTheta ( double x, double y ) : double
GetArray ( ) : object[]
GetIntArray ( ) : int[]
GetIntArrayConst ( int A, int n ) : int[]
GetIntArrayRange ( int A, int B ) : int[]
HSBtoRGB ( int hue, int saturation, int brightness, double OldCol ) : double[]
HighLevelSplit ( string S ) : string[]
IntersectionPoint ( Point P11, Point P12, Point P21, Point P22 ) : PointF
Shuffle ( IList A ) : IList
Shuffle ( IList S, Random R, bool Copy ) : IList
Shuffle ( IList A, bool Copy ) : IList
ShuffleIList ( IList A ) : void
ShuffleIList ( IList A, Random R ) : void
ccw ( Point P0, Point P1, Point P2, bool PlusOneOnZeroDegrees ) : int
ccw ( double P0x, double P0y, double P1x, double P1y, double P2x, double P2y, bool PlusOneOnZeroDegrees ) : int
intersect ( Point P11, Point P12, Point P21, Point P22 ) : bool

Private Methods

Méthode Description
doubleToInt ( double f ) : int

Method Details

CopyToArray() public static méthode

public static CopyToArray ( ICollection L, Type T ) : Array
L ICollection
T System.Type
Résultat System.Array

DAAdd() public static méthode

public static DAAdd ( double A, double B ) : double[]
A double
B double
Résultat double[]

DADist() public static méthode

public static DADist ( double A, double B ) : double
A double
B double
Résultat double

DAMean() public static méthode

public static DAMean ( double A ) : double
A double
Résultat double

DAMult() public static méthode

public static DAMult ( double A, double r ) : double[]
A double
r double
Résultat double[]

DASkalar() public static méthode

public static DASkalar ( double A, double B ) : double
A double
B double
Résultat double

DAStdv() public static méthode

public static DAStdv ( double A, double M ) : double
A double
M double
Résultat double

DASum() public static méthode

public static DASum ( double A ) : double
A double
Résultat double

Dist() public static méthode

public static Dist ( double x1, double y1, double x2, double y2 ) : double
x1 double
y1 double
x2 double
y2 double
Résultat double

GetAngle() public static méthode

public static GetAngle ( double x, double y ) : double
x double
y double
Résultat double

GetAngleTheta() public static méthode

public static GetAngleTheta ( double x, double y ) : double
x double
y double
Résultat double

GetArray() public static méthode

public static GetArray ( ) : object[]
Résultat object[]

GetIntArray() public static méthode

public static GetIntArray ( ) : int[]
Résultat int[]

GetIntArrayConst() public static méthode

public static GetIntArrayConst ( int A, int n ) : int[]
A int
n int
Résultat int[]

GetIntArrayRange() public static méthode

public static GetIntArrayRange ( int A, int B ) : int[]
A int
B int
Résultat int[]

HSBtoRGB() public static méthode

public static HSBtoRGB ( int hue, int saturation, int brightness, double OldCol ) : double[]
hue int
saturation int
brightness int
OldCol double
Résultat double[]

HighLevelSplit() public static méthode

public static HighLevelSplit ( string S ) : string[]
S string
Résultat string[]

IntersectionPoint() public static méthode

public static IntersectionPoint ( Point P11, Point P12, Point P21, Point P22 ) : PointF
P11 Point
P12 Point
P21 Point
P22 Point
Résultat FortuneVoronoi.Common.PointF

Shuffle() public static méthode

public static Shuffle ( IList A ) : IList
A IList
Résultat IList

Shuffle() public static méthode

public static Shuffle ( IList S, Random R, bool Copy ) : IList
S IList
R System.Random
Copy bool
Résultat IList

Shuffle() public static méthode

public static Shuffle ( IList A, bool Copy ) : IList
A IList
Copy bool
Résultat IList

ShuffleIList() public static méthode

public static ShuffleIList ( IList A ) : void
A IList
Résultat void

ShuffleIList() public static méthode

public static ShuffleIList ( IList A, Random R ) : void
A IList
R System.Random
Résultat void

ccw() public static méthode

public static ccw ( Point P0, Point P1, Point P2, bool PlusOneOnZeroDegrees ) : int
P0 Point
P1 Point
P2 Point
PlusOneOnZeroDegrees bool
Résultat int

ccw() public static méthode

public static ccw ( double P0x, double P0y, double P1x, double P1y, double P2x, double P2y, bool PlusOneOnZeroDegrees ) : int
P0x double
P0y double
P1x double
P1y double
P2x double
P2y double
PlusOneOnZeroDegrees bool
Résultat int

intersect() public static méthode

public static intersect ( Point P11, Point P12, Point P21, Point P22 ) : bool
P11 Point
P12 Point
P21 Point
P22 Point
Résultat bool

Property Details

R public_oe static_oe property

One static Random instance for use in the entire application
public static Random,System R
Résultat System.Random