7 references to DistanceBetweenPoints
System.Data (7)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (1)
156
dist = DesignerGeometryHelper.
DistanceBetweenPoints
(refPoint, point.Location);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
126
if (DesignerGeometryHelper.
DistanceBetweenPoints
(pt, editPoint.Location) <= EditPointHitTestRadius)
407
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.
DistanceBetweenPoints
(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4;
428
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.
DistanceBetweenPoints
((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1057
this.Distance = DesignerGeometryHelper.
DistanceBetweenPoints
(z, p);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (1)
31
distance +=
DistanceBetweenPoints
(segments[i - 1], segments[i]);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\PointExtensions.cs (1)
13
return DesignerGeometryHelper.
DistanceBetweenPoints
(point1, point2) < DesignerGeometryHelper.EPS;