Partager via


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
Public methodStatic member FuzzEqual Determines whether two floating point values are considered equal in a specified tolerance
Public methodStatic member FuzzZero Determines whether a floating point value should be considered equal to zero in a specified tolerance

Top

Fields

  Name Description
Public fieldStatic member FuzzDegrees Tolerance value that is used for floating point comparisons of angles measured in degrees
Public fieldStatic member FuzzDistance Delta value that is used for floating point comparisons of geometric values
Public fieldStatic member 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
Public fieldStatic member FuzzRadians Tolerance value that is used for floating point comparisons of angles measured in radians
Public fieldStatic member 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
Public fieldStatic member LargeDistance Large distance (e.g. delta x/y)
Public fieldStatic member LargeGeneral Very large generally useful number for size
Public fieldStatic member LargeReal About the largest scale that can generally produce math good results
Public fieldStatic member 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