24 references to Length
PresentationCore (20)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (3)
438return Math.Abs((to - from).Length); 478return Math.Abs(((System.Windows.Vector)to - (System.Windows.Vector)from).Length); 495return Math.Abs((to - from).Length);
Core\CSharp\MS\Internal\Ink\Bezier.cs (1)
517 double r = Q[0].Length;
Core\CSharp\MS\Internal\Ink\CuspData.cs (3)
73_nodes.Insert(index, _nodes[index - 1] + (XY(index) - XY(index - 1)).Length); 325double r = V.Length * W.Length;
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (4)
633radius = nearest.Length; 673if (DoubleUtil.IsZero(P1P2p.LengthSquared) || DoubleUtil.IsZero(endRadius - beginRadius + P1P2p.Length)) 677findex = (P1Xp.Length - beginRadius) / (endRadius - beginRadius + P1P2p.Length);
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (9)
540double visEdgeDiff = (visEdgeStart - visEdgeEnd).Length; 542if ((intersUV - visEdgeStart).Length < visEdgeDiff && 543(intersUV - visEdgeEnd).Length < visEdgeDiff) 953double visEdgeDiff = (visEdgeStart - visEdgeEnd).Length; 955if ((intersUV - visEdgeStart).Length < visEdgeDiff && 956(intersUV - visEdgeEnd).Length < visEdgeDiff) 1072distance = v1.Length; 1093distance = (mousePos - currClosest).Length; 1103closestIntersection = ((currClosest - edges[i]._p1Transformed).Length / Math.Sqrt(denom) *
PresentationFramework (3)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6572distance = v.Length;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
1855popupTransform.Scale(transformedUnitX.Length, transformedUnitY.Length);
WindowsBase (1)
Base\System\Windows\Vector.cs (1)
73this /= Length;