Skip to content

circle2IsClose

circle2IsClose(a, b, tolerance?): boolean

Defined in: circle2.ts:80

Determines whether two 2D circles are within tolerance of each other, in centre and radius.

Not transitive, so never a basis for ordering or for a set or map key — use circle2Equals there.

Circle2

First circle to compare.

Circle2

Second circle to compare.

number = geometryConfig.defaultLinearTolerance

Distance, in the caller’s own units.

boolean

True if the circles are close, false otherwise.