approxEqual

Returns true if the distance between the given two point is less than eps.

bool
approxEqual
(
T
uint N
)
(
const Vector!(T, N) a
,
const Vector!(T, N) b
,
T eps = 1e-5
)

Parameters

a Vector!(T, N)

target point

b Vector!(T, N)

target point

eps T

criteria of approximation

Return Value

Type: bool

true if 2 vectors are approximately equal.

Meta