Point.in_circle
- Point.in_circle(circle)[source]
Determine if the point lies inside the given circle.
- Parameters:
- circle
compas.geometry.Circle
The circle.
- circle
- Returns:
- bool
True, if the point lies inside the circle. False, otherwise.
Examples
>>> from compas.geometry import Vector >>> from compas.geometry import Plane >>> from compas.geometry import Circle >>> circle = Circle(1.0) >>> point = Point(0.5, 0.0, 0.0) >>> point.in_circle(circle) True