isInSphere

public boolean isInSphere(Vector origin, double radius)

Returns whether this vector is within getClassById sphere.

Return

whether this vector is in the sphere

Parameters

origin

Sphere origin.

radius

Sphere radius