FromTwoPoints(Double,Double,Double,Double) Method
Creates a normalized 2D range from two points.
'Declaration
Public Overloads Shared Function FromTwoPoints( _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
) As NRange2D
'Usage
Dim x1 As System.Double
Dim y1 As System.Double
Dim x2 As System.Double
Dim y2 As System.Double
Dim value As NRange2D
value = NRange2D.FromTwoPoints(x1, y1, x2, y2)
public static NRange2D FromTwoPoints(
System.double ,
System.double ,
System.double ,
System.double
)
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.
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)