Point.near

Checks whether the two points @a and @b are within the threshold of @epsilon.

class Point
bool
near
(,
float epsilon
)

Parameters

b Point

a #graphene_point_t

epsilon float

threshold between the two points

Return Value

Type: bool

true if the distance is within @epsilon

Meta