Méthode | Description | |
---|---|---|
ArrayMinMax ( IList |
Returns the minimum and maximum values in an IList. The members of the list can be of different types - any type for which the function Utils.ConvertToDouble knows how to convert into a double.
|
|
Distance ( |
Calculate the distance between two points, a and b.
|
|
Distance ( Point a, Point b ) : int |
Calculate the distance between two points, a and b.
|
|
DoubleEqual ( double a, double b ) : bool |
Returns true if the absolute difference between parameters is less than Epsilon
|
|
ScaleFont ( |
Get a Font exactly the same as the passed in one, except for scale factor.
|
|
Swap ( double &a, double &b ) : void |
Swaps the value of two doubles.
|
|
UnitVector ( |
Returns unit vector along the line a->b.
|
public static ArrayMinMax ( IList |
||
a | IList |
The IList to search. |
min | double | The minimum value. |
max | double | The maximum value. |
Résultat | bool |
public static Distance ( |
||
a | First point | |
b | Second point | |
Résultat | float |
public static Distance ( Point a, Point b ) : int | ||
a | Point | First point |
b | Point | Second point |
Résultat | int |
public static DoubleEqual ( double a, double b ) : bool | ||
a | double | first number to compare |
b | double | second number to compare |
Résultat | bool |
public static ScaleFont ( |
||
initial | The font to scale. | |
scale | double | Scale by this factor. |
Résultat |
public static Swap ( double &a, double &b ) : void | ||
a | double | first value to swap. |
b | double | second value to swap. |
Résultat | void |
public static UnitVector ( |
||
a | line start point. | |
b | line end point. | |
Résultat |