Processing math: 100%

sknano.core.geometric_regions.Ellipsoid.contains

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

Test region membership of point in Ellipsoid.

Parameters:

point : array_like

Returns:

bool

True if point is within Ellipsoid, False otherwise

Notes

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

(pxcxrx)2+(pycyry)2+(pzczrz)21