Point.in_circle
- Point.in_circle(circle)[source]
Determine if the point lies inside the given circle.
- Parameters
circle ([plane, radius] |
compas.geometry.Circle
) – The 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(Plane(Point(0.0, 0.0, 0.0), Vector(0.0, 0.0, 1.0)), 1.0) >>> point = Point(0.5, 0.0, 0.0) >>> point.in_circle(circle) True