NevronOpenVision
Nevron.Nov.Graphics Namespace / NRange2D Structure / FromTwoPoints Method / FromTwoPoints(Double,Double,Double,Double) Method
X coordinate of the first point.
Y coordinate of the first point.
X coordinate of the second point.
Y coordinate of the second point.
In This Topic
    FromTwoPoints(Double,Double,Double,Double) Method
    In This Topic
    Creates a normalized 2D range from two points.
    Syntax
    public static NRange2D FromTwoPoints( 
       System.double x1,
       System.double y1,
       System.double x2,
       System.double y2
    )

    Parameters

    x1
    X coordinate of the first point.
    y1
    Y coordinate of the first point.
    x2
    X coordinate of the second point.
    y2
    Y coordinate of the second point.

    Return Value

    Returns a normalized 2D range structure.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also