Sphere.distance

float distance(graphene.point3_d.Point3D point)

Computes the distance of the given point from the surface of a #graphene_sphere_t.

Parameters

pointa #graphene_point3d_t

Returns

the distance of the point