Udostępnij za pośrednictwem


VGConstants Class

Definition

Miscellaneous constants used by the graph layout engine

public ref class VGConstants abstract sealed
public static class VGConstants
type VGConstants = class
Public Class VGConstants
Inheritance
VGConstants

Fields

FuzzDegrees

Tolerance value used for floating point comparisons of angles measured in degrees

FuzzDistance

Delta value used for floating point comparisons of gemoetric values

FuzzGeneral

Tolerance value used for floating point comparisons where values are considered equal within normal tolerance, i.e. to within nine decimal digits

FuzzRadians

Tolerance value used for floating point comparisons of angles measured in radians

FuzzReal

Delta value used for floating point comparisons where values are really supposed to be equal, i.e. approximately the smallest difference representable as a double

LargeDistance

Large distance (e.g. delta x/y)

LargeGeneral

Very large generally useful number for size

LargeReal

About the largest scale that can generally produce math good results

PI

The approximation of PI used in the layout engine

Methods

FuzzEqual(Double, Double, Double)

Determines whether two floating point values are considered equal within a specified tolerance

FuzzZero(Double, Double)

Determines whether a floating point value should be considered equal to zero within a specified tolerance

Applies to