Method | 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. |
return | bool |
public static Distance ( |
||
a | First point | |
b | Second point | |
return | float |
public static Distance ( Point a, Point b ) : int | ||
a | Point | First point |
b | Point | Second point |
return | int |
public static DoubleEqual ( double a, double b ) : bool | ||
a | double | first number to compare |
b | double | second number to compare |
return | bool |
public static ScaleFont ( |
||
initial | The font to scale. | |
scale | double | Scale by this factor. |
return |
public static Swap ( double &a, double &b ) : void | ||
a | double | first value to swap. |
b | double | second value to swap. |
return | void |
public static UnitVector ( |
||
a | line start point. | |
b | line end point. | |
return |