VGConstants Class
Miscellaneous constants used by the graph layout engine
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGConstants
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.GraphObject
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public NotInheritable Class VGConstants
public static class VGConstants
public ref class VGConstants abstract sealed
[<AbstractClass>]
[<Sealed>]
type VGConstants = class end
public final class VGConstants
The VGConstants type exposes the following members.
Methods
Name | Description | |
---|---|---|
FuzzEqual | Determines whether two floating point values are considered equal in a specified tolerance | |
FuzzZero | Determines whether a floating point value should be considered equal to zero in a specified tolerance |
Top
Fields
Name | Description | |
---|---|---|
FuzzDegrees | Tolerance value that is used for floating point comparisons of angles measured in degrees | |
FuzzDistance | Delta value that is used for floating point comparisons of geometric values | |
FuzzGeneral | Tolerance value that is used for floating point comparisons where values are considered equal within regular tolerance, that is to within nine decimal digits | |
FuzzRadians | Tolerance value that is used for floating point comparisons of angles measured in radians | |
FuzzReal | Delta value that is used for floating point comparisons where values are really supposed to be equal, that is 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 |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject Namespace