109 writes to yPosition
System.Windows.Forms.DataVisualization (109)
Common\ChartTypes\AreaChart.cs (15)
807
dp1.
yPosition
= splinePoints[pIndex - 1].Y;
812
dp2.
yPosition
= splinePoints[pIndex].Y;
819
dp2.
yPosition
= splinePoints[pIndex - 1].Y;
824
dp1.
yPosition
= splinePoints[pIndex].Y;
1288
dp1.
yPosition
= thirdPoint.Y;
1293
dp2.
yPosition
= fourthPoint.Y;
1322
dp1.
yPosition
= (firstPoint.xPosition <= secondPoint.xPosition) ? thirdPoint.Y : fourthPoint.Y;
1327
dp2.
yPosition
= leftMostPoint.yPosition;
1351
dp1.
yPosition
= (secondPoint.xPosition >= firstPoint.xPosition) ? fourthPoint.Y : thirdPoint.Y;
1356
dp2.
yPosition
= rightMostPoint.yPosition;
1375
dp1.
yPosition
= thirdPoint.Y;
1380
dp2.
yPosition
= fourthPoint.Y;
1409
dp1.
yPosition
= thirdPoint.Y;
1415
dp2.
yPosition
= fourthPoint.Y;
1559
intersectionPoint.
yPosition
= axisPosition;
Common\ChartTypes\KagiChart.cs (2)
787
middlePoint.
yPosition
= firstPoint.yPosition;
846
vertSplitPoint.
yPosition
= prevPoint.yPosition;
Common\ChartTypes\LineChart.cs (51)
1680
firstPoint.
yPosition
= Math.Round(firstPoint.yPosition, decimals);
1682
secondPoint.
yPosition
= Math.Round(secondPoint.yPosition, decimals);
1711
firstPoint.
yPosition
= ((double)plotAreaPositionX - secondPoint.xPosition) /
1719
firstPoint.
yPosition
= ((double)plotAreaPositionRight - secondPoint.xPosition) /
1727
secondPoint.
yPosition
= ((double)plotAreaPositionX - secondPoint.xPosition) /
1735
secondPoint.
yPosition
= ((double)plotAreaPositionRight - secondPoint.xPosition) /
1760
firstPoint.
yPosition
= (double)plotAreaPositionY;
1761
secondPoint.
yPosition
= (double)plotAreaPositionY;
1768
firstPoint.
yPosition
= (double)plotAreaPositionBottom;
1769
secondPoint.
yPosition
= (double)plotAreaPositionBottom;
1786
firstPoint.
yPosition
= prevFirstPointY;
1787
secondPoint.
yPosition
= prevSecondPointY;
1794
intersectionPoint.
yPosition
= (double)plotAreaPositionY;
1798
intersectionPoint.
yPosition
= (double)plotAreaPositionBottom;
1825
intersectionPoint2.
yPosition
= (double)plotAreaPositionBottom;
1829
intersectionPoint2.
yPosition
= (double)plotAreaPositionY;
1849
tempPoint.
yPosition
= intersectionPoint.yPosition;
1851
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
1853
intersectionPoint2.
yPosition
= tempPoint.yPosition;
1865
firstPoint.
yPosition
= (double)plotAreaPositionY;
1871
firstPoint.
yPosition
= (double)plotAreaPositionBottom;
1875
secondPoint.
yPosition
= (double)plotAreaPositionY;
1880
secondPoint.
yPosition
= (double)plotAreaPositionBottom;
1964
firstPoint.
yPosition
= prevFirstPointY;
1965
secondPoint.
yPosition
= prevSecondPointY;
2048
firstPoint.
yPosition
= Math.Round(firstPoint.yPosition, decimals);
2050
secondPoint.
yPosition
= Math.Round(secondPoint.yPosition, decimals);
2114
intersectionPoint.
yPosition
= (double)plotAreaPositionY;
2118
intersectionPoint.
yPosition
= (double)area.PlotAreaPosition.Bottom;
2127
intersectionPoint.
yPosition
= (intersectionPoint.xPosition - secondPoint.xPosition) /
2153
intersectionPoint2.
yPosition
= (double)area.PlotAreaPosition.Bottom;
2157
intersectionPoint2.
yPosition
= (double)area.PlotAreaPosition.Y;
2164
intersectionPoint2.
yPosition
= (intersectionPoint2.xPosition - secondPoint.xPosition) /
2249
tempPoint.
yPosition
= intersectionPoint.yPosition;
2251
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2253
intersectionPoint2.
yPosition
= tempPoint.yPosition;
2276
tempPoint.
yPosition
= intersectionPoint.yPosition;
2278
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2280
intersectionPoint2.
yPosition
= tempPoint.yPosition;
2291
tempPoint.
yPosition
= intersectionPoint.yPosition;
2293
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2295
intersectionPoint2.
yPosition
= tempPoint.yPosition;
2321
tempPoint.
yPosition
= intersectionPoint.yPosition;
2323
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2325
intersectionPoint2.
yPosition
= tempPoint.yPosition;
2337
tempPoint.
yPosition
= intersectionPoint.yPosition;
2339
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2341
intersectionPoint2.
yPosition
= tempPoint.yPosition;
2370
tempPoint.
yPosition
= intersectionPoint.yPosition;
2372
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
2374
intersectionPoint2.
yPosition
= tempPoint.yPosition;
Common\ChartTypes\RangeChart.cs (13)
1004
intersectionPoint.
yPosition
= intersectionCoordinates.Y;
1158
firstPoint.
yPosition
= Math.Round(firstPoint.yPosition, 5);
1160
secondPoint.
yPosition
= Math.Round(secondPoint.yPosition, 5);
1282
dp1.
yPosition
= thirdPoint.Y;
1287
dp2.
yPosition
= fourthPoint.Y;
1309
dp1.
yPosition
= (firstPoint.xPosition <= secondPoint.xPosition) ? thirdPoint.Y : fourthPoint.Y;
1312
dp2.
yPosition
= leftMostPoint.yPosition;
1334
dp1.
yPosition
= (secondPoint.xPosition >= firstPoint.xPosition) ? fourthPoint.Y : thirdPoint.Y;
1337
dp2.
yPosition
= rightMostPoint.yPosition;
1355
dp1.
yPosition
= thirdPoint.Y;
1360
dp2.
yPosition
= fourthPoint.Y;
1379
dp1.
yPosition
= thirdPoint.Y;
1384
dp2.
yPosition
= fourthPoint.Y;
Common\ChartTypes\StepLineChart.cs (1)
298
middlePoint.
yPosition
= firstPoint.yPosition;
Common\General\ChartGraphics3D.cs (27)
1621
dp1.
yPosition
= splinePathPoints[pIndex - 1].Y;
1626
dp2.
yPosition
= splinePathPoints[pIndex].Y;
1633
dp2.
yPosition
= splinePathPoints[pIndex - 1].Y;
1638
dp1.
yPosition
= splinePathPoints[pIndex].Y;
1844
firstPoint.
yPosition
= ((double)plotAreaPositionX - secondPoint.xPosition) /
1852
firstPoint.
yPosition
= ((double)plotAreaPositionRight - secondPoint.xPosition) /
1860
secondPoint.
yPosition
= ((double)plotAreaPositionX - secondPoint.xPosition) /
1868
secondPoint.
yPosition
= ((double)plotAreaPositionRight - secondPoint.xPosition) /
1892
firstPoint.
yPosition
= (double)plotAreaPositionY;
1893
secondPoint.
yPosition
= (double)plotAreaPositionY;
1899
firstPoint.
yPosition
= (double)plotAreaPositionBottom;
1900
secondPoint.
yPosition
= (double)plotAreaPositionBottom;
1919
firstPoint.
yPosition
= prevFirstPointY;
1920
secondPoint.
yPosition
= prevSecondPointY;
1927
intersectionPoint.
yPosition
= (double)plotAreaPositionY;
1931
intersectionPoint.
yPosition
= (double)plotAreaPositionBottom;
1950
intersectionPoint2.
yPosition
= (double)plotAreaPositionBottom;
1954
intersectionPoint2.
yPosition
= (double)plotAreaPositionY;
1966
tempPoint.
yPosition
= intersectionPoint.yPosition;
1968
intersectionPoint.
yPosition
= intersectionPoint2.yPosition;
1970
intersectionPoint2.
yPosition
= tempPoint.yPosition;
1980
firstPoint.
yPosition
= (double)plotAreaPositionY;
1985
firstPoint.
yPosition
= (double)plotAreaPositionBottom;
1989
secondPoint.
yPosition
= (double)plotAreaPositionY;
1993
secondPoint.
yPosition
= (double)plotAreaPositionBottom;
2077
firstPoint.
yPosition
= prevFirstPointY;
2078
secondPoint.
yPosition
= prevSecondPointY;
245 references to yPosition
System.Windows.Forms.DataVisualization (245)
Common\ChartTypes\AreaChart.cs (31)
938
Math.Round(firstPoint.
yPosition
, 3) == Math.Round(secondPoint.
yPosition
, 3))
980
float minY = (float)Math.Min(firstPoint.
yPosition
, secondPoint.
yPosition
);
983
float maxY = (float)Math.Max(firstPoint.
yPosition
, secondPoint.
yPosition
);
990
if( ((decimal)firstPoint.
yPosition
) >= ((decimal)axisPosition) &&
991
((decimal)secondPoint.
yPosition
) >= ((decimal)axisPosition) )
1120
if( (Math.Round((decimal)firstPoint.
yPosition
, 3) > (decimal)axisPosition + 0.001M && Math.Round((decimal)secondPoint.
yPosition
, 3) < (decimal)axisPosition - 0.001M) ||
1121
(Math.Round((decimal)firstPoint.
yPosition
, 3) < (decimal)axisPosition - 0.001M && Math.Round((decimal)secondPoint.
yPosition
, 3) > (decimal)axisPosition + 0.001M) )
1177
Math.Round(firstPoint.
yPosition
, 3) == Math.Round(secondPoint.
yPosition
, 3))
1327
dp2.yPosition = leftMostPoint.
yPosition
;
1356
dp2.yPosition = rightMostPoint.
yPosition
;
1511
cubePoints[0] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ + depth );
1512
cubePoints[1] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1513
cubePoints[2] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1517
cubePoints[0] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ + depth );
1518
cubePoints[1] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1519
cubePoints[2] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1527
cubePoints[0] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ + depth );
1528
cubePoints[1] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1529
cubePoints[2] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1533
cubePoints[0] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ + depth );
1534
cubePoints[1] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1535
cubePoints[2] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1560
intersectionPoint.xPosition = (axisPosition - firstPoint.
yPosition
) *
1562
(secondPoint.
yPosition
- firstPoint.
yPosition
) +
Common\ChartTypes\BarChart.cs (8)
2271
if(point1.
yPosition
< point2.
yPosition
)
2275
else if(point1.
yPosition
> point2.
yPosition
)
2283
double yMin1 = Math.Min(point1.
yPosition
, point1.height);
2284
double yMax1 = Math.Max(point1.
yPosition
, point1.height);
2285
double yMin2 = Math.Min(point2.
yPosition
, point2.height);
2286
double yMax2 = Math.Max(point2.
yPosition
, point2.height);
Common\ChartTypes\KagiChart.cs (18)
775
currentKagiDirection = (firstPoint.
yPosition
> secondPoint.
yPosition
) ?
787
middlePoint.yPosition = firstPoint.
yPosition
;
815
int direction = (firstPoint.
yPosition
> secondPoint.
yPosition
) ?
829
if(firstPoint.
yPosition
> prevPoint.
yPosition
&&
830
firstPoint.
yPosition
> secondPoint.
yPosition
&&
831
prevPoint.
yPosition
> secondPoint.
yPosition
)
835
else if(firstPoint.
yPosition
< prevPoint.
yPosition
&&
836
firstPoint.
yPosition
< secondPoint.
yPosition
&&
837
prevPoint.
yPosition
< secondPoint.
yPosition
)
846
vertSplitPoint.yPosition = prevPoint.
yPosition
;
Common\ChartTypes\LineChart.cs (87)
1656
double.IsNaN(firstPoint.
yPosition
) ||
1658
double.IsNaN(secondPoint.
yPosition
) )
1680
firstPoint.yPosition = Math.Round(firstPoint.
yPosition
, decimals);
1682
secondPoint.yPosition = Math.Round(secondPoint.
yPosition
, decimals);
1713
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1714
secondPoint.
yPosition
;
1721
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1722
secondPoint.
yPosition
;
1729
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1730
secondPoint.
yPosition
;
1737
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1738
secondPoint.
yPosition
;
1744
if((decimal)firstPoint.
yPosition
< plotAreaPositionY ||
1745
(decimal)firstPoint.
yPosition
> plotAreaPositionBottom ||
1746
(decimal)secondPoint.
yPosition
< plotAreaPositionY ||
1747
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom )
1750
double prevFirstPointY = firstPoint.
yPosition
;
1751
double prevSecondPointY = secondPoint.
yPosition
;
1756
if((decimal)firstPoint.
yPosition
< plotAreaPositionY &&
1757
(decimal)secondPoint.
yPosition
< plotAreaPositionY)
1763
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom &&
1764
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom)
1795
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom ||
1796
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom )
1800
intersectionPoint.xPosition = (intersectionPoint.
yPosition
- secondPoint.
yPosition
) *
1802
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1807
double.IsNaN(intersectionPoint.
yPosition
) ||
1808
double.IsInfinity(intersectionPoint.
yPosition
) )
1816
if( ((decimal)firstPoint.
yPosition
< plotAreaPositionY &&
1817
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom) ||
1818
((decimal)firstPoint.
yPosition
> plotAreaPositionBottom &&
1819
(decimal)secondPoint.
yPosition
< plotAreaPositionY))
1823
if((decimal)intersectionPoint.
yPosition
== plotAreaPositionY)
1831
intersectionPoint2.xPosition = (intersectionPoint2.
yPosition
- secondPoint.
yPosition
) *
1833
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1838
double.IsNaN(intersectionPoint2.
yPosition
) ||
1839
double.IsInfinity(intersectionPoint2.
yPosition
) )
1845
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom)
1849
tempPoint.yPosition = intersectionPoint.
yPosition
;
1851
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
1853
intersectionPoint2.yPosition = tempPoint.
yPosition
;
1862
if((decimal)firstPoint.
yPosition
< plotAreaPositionY)
1867
else if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom)
1873
if((decimal)secondPoint.
yPosition
< plotAreaPositionY)
1877
else if((decimal)secondPoint.
yPosition
> plotAreaPositionBottom)
2048
firstPoint.yPosition = Math.Round(firstPoint.
yPosition
, decimals);
2050
secondPoint.yPosition = Math.Round(secondPoint.
yPosition
, decimals);
2121
intersectionPoint.xPosition = (intersectionPoint.
yPosition
- fourthPoint.Y) *
2129
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
2130
secondPoint.
yPosition
;
2134
double.IsNaN(intersectionPoint.
yPosition
) ||
2135
double.IsInfinity(intersectionPoint.
yPosition
) )
2159
intersectionPoint2.xPosition = (intersectionPoint2.
yPosition
- fourthPoint.Y) *
2166
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
2167
secondPoint.
yPosition
;
2171
double.IsNaN(intersectionPoint2.
yPosition
) ||
2172
double.IsInfinity(intersectionPoint2.
yPosition
) )
2212
if(firstPoint.
yPosition
>= thirdPoint.Y)
2226
if(fourthPoint.Y <= secondPoint.
yPosition
)
2249
tempPoint.yPosition = intersectionPoint.
yPosition
;
2251
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2253
intersectionPoint2.yPosition = tempPoint.
yPosition
;
2276
tempPoint.yPosition = intersectionPoint.
yPosition
;
2278
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2280
intersectionPoint2.yPosition = tempPoint.
yPosition
;
2291
tempPoint.yPosition = intersectionPoint.
yPosition
;
2293
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2295
intersectionPoint2.yPosition = tempPoint.
yPosition
;
2321
tempPoint.yPosition = intersectionPoint.
yPosition
;
2323
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2325
intersectionPoint2.yPosition = tempPoint.
yPosition
;
2337
tempPoint.yPosition = intersectionPoint.
yPosition
;
2339
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2341
intersectionPoint2.yPosition = tempPoint.
yPosition
;
2370
tempPoint.yPosition = intersectionPoint.
yPosition
;
2372
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
2374
intersectionPoint2.yPosition = tempPoint.
yPosition
;
Common\ChartTypes\PointChart.cs (1)
1163
markerPosition.Y = (float)pointEx.
yPosition
;
Common\ChartTypes\RangeChart.cs (37)
985
if (Math.Abs(firstPoint.
yPosition
- (double)thirdPoint.Y) > smallDouble &&
986
Math.Abs(secondPoint.
yPosition
- (double)fourthPoint.Y) > smallDouble &&
987
((firstPoint.
yPosition
> thirdPoint.Y && secondPoint.
yPosition
< fourthPoint.Y) ||
988
(firstPoint.
yPosition
< thirdPoint.Y && secondPoint.
yPosition
> fourthPoint.Y)))
998
(float)firstPoint.xPosition, (float)firstPoint.
yPosition
,
999
(float)secondPoint.xPosition, (float)secondPoint.
yPosition
,
1016
(decimal)intersectionCoordinates.Y == (decimal)firstPoint.
yPosition
)
1021
(decimal)intersectionCoordinates.Y == (decimal)secondPoint.
yPosition
)
1048
_fourthPointY2Value = (float)intersectionPoint.
yPosition
;
1068
_thirdPointY2Value = (float)intersectionPoint.
yPosition
;
1105
float minY = (float)Math.Min(firstPoint.
yPosition
, secondPoint.
yPosition
);
1108
float maxY = (float)Math.Max(firstPoint.
yPosition
, secondPoint.
yPosition
);
1115
if(firstPoint.
yPosition
>= thirdPoint.Y && secondPoint.
yPosition
>= fourthPoint.Y)
1158
firstPoint.yPosition = Math.Round(firstPoint.
yPosition
, 5);
1160
secondPoint.yPosition = Math.Round(secondPoint.
yPosition
, 5);
1312
dp2.yPosition = leftMostPoint.
yPosition
;
1337
dp2.yPosition = rightMostPoint.
yPosition
;
1481
cubePoints[0] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ + depth );
1482
cubePoints[1] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1483
cubePoints[2] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1487
cubePoints[0] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ + depth );
1488
cubePoints[1] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1489
cubePoints[2] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1497
cubePoints[0] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ + depth );
1498
cubePoints[1] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1499
cubePoints[2] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1503
cubePoints[0] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ + depth );
1504
cubePoints[1] = new Point3D( (float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ );
1505
cubePoints[2] = new Point3D( (float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ );
1702
points3D[0] = new Point3D((float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ);
1703
points3D[1] = new Point3D((float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ);
1704
points3D[2] = new Point3D((float)thirdPoint.xPosition, (float)thirdPoint.
yPosition
, positionZ);
Common\ChartTypes\StackedAreaChart.cs (1)
1511
points[0] = new Point3D((float)pointEx.xPosition, (float)(pointEx.
yPosition
+ pointEx.height) / 2f, positionZ + depth);
Common\ChartTypes\StackedBarChart.cs (1)
1715
double height = pointEx.
yPosition
;;
Common\ChartTypes\StackedColumnChart.cs (1)
1754
double height = pointEx.
yPosition
;
Common\ChartTypes\StepLineChart.cs (1)
298
middlePoint.yPosition = firstPoint.
yPosition
;
Common\General\ChartGraphics3D.cs (59)
1213
points3D[0] = new Point3D((float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ);
1214
points3D[1] = new Point3D((float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ);
1215
points3D[2] = new Point3D((float)thirdPoint.xPosition, (float)thirdPoint.
yPosition
, positionZ);
1216
points3D[3] = new Point3D((float)fourthPoint.xPosition, (float)fourthPoint.
yPosition
, positionZ);
1434
polygonPointsFront[0] = new PointF((float)splineDataPoints[0].xPosition, (float)splineDataPoints[0].
yPosition
);
1435
polygonPointsFront[1] = new PointF((float)splineDataPoints[1].xPosition, (float)splineDataPoints[1].
yPosition
);
1437
polygonPointsFront[2] = new PointF((float)splineDataPoints[2].xPosition, (float)splineDataPoints[2].
yPosition
);
1439
polygonPointsFront[3] = new PointF((float)splineDataPoints[3].xPosition, (float)splineDataPoints[3].
yPosition
);
1794
(decimal)firstPoint.
yPosition
== (decimal)secondPoint.
yPosition
)
1846
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1847
secondPoint.
yPosition
;
1854
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1855
secondPoint.
yPosition
;
1862
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1863
secondPoint.
yPosition
;
1870
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1871
secondPoint.
yPosition
;
1877
if((decimal)firstPoint.
yPosition
< plotAreaPositionY ||
1878
(decimal)firstPoint.
yPosition
> plotAreaPositionBottom ||
1879
(decimal)secondPoint.
yPosition
< plotAreaPositionY ||
1880
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom )
1883
double prevFirstPointY = firstPoint.
yPosition
;
1884
double prevSecondPointY = secondPoint.
yPosition
;
1888
if((decimal)firstPoint.
yPosition
< plotAreaPositionY &&
1889
(decimal)secondPoint.
yPosition
< plotAreaPositionY)
1895
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom &&
1896
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom)
1928
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom ||
1929
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom )
1933
intersectionPoint.xPosition = (intersectionPoint.
yPosition
- secondPoint.
yPosition
) *
1935
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1941
if( ((decimal)firstPoint.
yPosition
< plotAreaPositionY &&
1942
(decimal)secondPoint.
yPosition
> plotAreaPositionBottom) ||
1943
((decimal)firstPoint.
yPosition
> plotAreaPositionBottom &&
1944
(decimal)secondPoint.
yPosition
< plotAreaPositionY))
1948
if((decimal)intersectionPoint.
yPosition
== plotAreaPositionY)
1956
intersectionPoint2.xPosition = (intersectionPoint2.
yPosition
- secondPoint.
yPosition
) *
1958
(firstPoint.
yPosition
- secondPoint.
yPosition
) +
1962
if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom)
1966
tempPoint.yPosition = intersectionPoint.
yPosition
;
1968
intersectionPoint.yPosition = intersectionPoint2.
yPosition
;
1970
intersectionPoint2.yPosition = tempPoint.
yPosition
;
1977
if((decimal)firstPoint.
yPosition
< plotAreaPositionY)
1982
else if((decimal)firstPoint.
yPosition
> plotAreaPositionBottom)
1987
if((decimal)secondPoint.
yPosition
< plotAreaPositionY)
1991
else if((decimal)secondPoint.
yPosition
> plotAreaPositionBottom)
2090
points3D[0] = new Point3D((float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ + depth);
2091
points3D[1] = new Point3D((float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ + depth);
2092
points3D[2] = new Point3D((float)secondPoint.xPosition, (float)secondPoint.
yPosition
, positionZ);
2093
points3D[3] = new Point3D((float)firstPoint.xPosition, (float)firstPoint.
yPosition
, positionZ);