Contents

contains(_:inCircumferentialRingOfWidth:)

Determines if a ring around this circle’s circumference contains the specified point.

Declaration

func contains(_ point: VNPoint, inCircumferentialRingOfWidth ringWidth: Double) -> Bool

Parameters

  • point:

    The point to test.

  • ringWidth:

    The width of the ring around this circle’s circumference.

Return Value

true if the ring contains the specified point, otherwise false.

See Also

Inspecting a Circle