Version

Random(Complex,Double) Method

Returns a Complex number drawn from the uniform distribution on the circle given by the specified origin and radius.
Syntax
'Declaration
 
Public Overloads Shared Function Random( _
   ByVal origin As Complex, _
   ByVal radius As Double _
) As Complex
public static Complex Random( 
   Complex origin,
   double radius
)

Parameters

origin
The origin of a circle on the Complex plane.
radius
The radius of the circle.

Return Value

A random Complex number.
Exceptions
ExceptionDescription
System.ArgumentException Occurs if the radius is less than zero.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also