Capsule.contains_point

Capsule.contains_point(point, tol=1e-06)[source]

Verify if a point is inside the capsule.

Parameters:
pointcompas.geometry.Point

The point.

tolfloat, optional

The tolerance for the test.

Returns:
bool

True if the point is inside the capsule. False otherwise.

See also

contains_points