Table of Contents

Method DistanceIsLess

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DistanceIsLess(PointD, PointD, double)

Compares distance between two points and specified value.

public static bool DistanceIsLess(PointD p1, PointD p2, double value)

Parameters

p1 PointD

First point.

p2 PointD

Second point.

value double

Value to compare distance with.

Returns

bool

true if distance between two points is less than value; false otherwise.