public static bool IsPointOutOfSphere(float px, float py, float pz, float radius, float cx, float cy, float cz) { return(!PointInSphere.IsPointInSphere(px, py, pz, radius, cx, cy, cz)); }
public static bool IsPointInSphere(float px, float py, float pz, float radius, float cx, float cy, float cz) { double distSqd = PointInSphere.GetPointDistanceSqd(px, py, pz, cx, cy, cz); return(distSqd < Math.Pow(radius, 2)); }
public static bool IsPointOutOfSphere(Vector point, float radius, Vector sphereCenter) { return(!PointInSphere.IsPointInSphere(point, radius, sphereCenter)); }