how to know if a point is inside boundingsphere

1. A concise explanation of the problem you’re experiencing.

I’d like to know if a Cartesian3 point is inside a boundingsphere, is it possible?

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

let boundingSphere = new Cesium.BoundingSphere(bdCenter, radius);

let point = Cesium.Cartesian3.fromDegrees(longitude, latitude);

/// I should check in point is inside boundingsphere

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I’m expanding the boundingsphere on the basis of the camera view, and I should know if the camera is looking to a point that is inside this boundingsphere

4. The Cesium version you’re using, your operating system and browser.

1.66

A point will be inside a sphere if the distance from the point to the center is less than the radius.

Damn… right! sorry for the question