Circle.contains_point
- Circle.contains_point(point, tol=1e-06, dmax=1e-06)[source]
Verify that the circle contains a given point.
- Parameters:
- point
compas.geometry.Point
The point.
- tolfloat, optional
The tolerance for the verification.
- dmaxfloat, optional
The maximum allowed distance between the plane of the circle and the point.
- point
- Returns:
- bool
True if the point is on the circle. False otherwise.
Notes
By default, the verification will fail if the point is not exactly in the plane of the circle. To allow for a certain tolerance, use the
dmax
parameter. Like with apparent intersections, using admax
higher than zero, allows for “apparent containment” checks