FromPolar(Double[],Double[],IList<Double>,IList<Double>,VectorAngleUnit,IList<IPointMetadata>,FieldDataDistributionArgs) Method
Creates a new NonUniformVectorFieldDataSeries from polar (angle, magnitude) inputs with optional distribution hints.
Syntax
public static NonUniformVectorFieldDataSeries FromPolar( double[] x, double[] y, IList<double> angle, IList<double> magnitude, VectorAngleUnit angleUnit, IList<IPointMetadata> metadata, FieldDataDistributionArgs args )
Parameters
- x
- The X positions of each vector origin.
- y
- The Y positions of each vector origin.
- angle
- The direction angle of each vector.
- magnitude
- The magnitude (length) of each vector.
- angleUnit
- Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
- metadata
- Optional per-point metadata.
- args
- Optional distribution hints that allow the data series to skip expensive O(N) scans.
Requirements
Target Platforms: 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