GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutForceDirected Class / GravitationalFieldX Method
In This Topic
    GravitationalFieldX Method
    In This Topic
    The function GravitationalFieldX returns the gravitational field in the X direction acting on a node at the logical point PointF xy. A node L is acted upon by a force in the X direction of magnitude GravitationalFieldX(L.position) * GravitationalMass(L).
    Syntax
    protected virtual float GravitationalFieldX( 
       PointF xy
    )

    Parameters

    xy

    Return Value

    Returns the gravitational field in the X direction at point xy, normally zero.
    See Also