Processing math: 100%

sknano.core.geometric_regions.Ellipse.contains

Ellipse.contains(point)[source][source]

Test region membership of point in Ellipse.

Parameters:

point : array_like

Returns:

bool

True if point is within Ellipse, False otherwise

Notes

A point (px,py) is within the bounded region of an ellipse with center (cx,cy) and semi-axes lengths rx,ry if the following is true:

(pxcxrx)2+(pycyry)21