Hi,

Can some one give me a working example of how I can find the intersection point of an Ellipsoid with a Ray?

I have tried a lot but could not find a way to make it work…thanks very much

This is a code which I have written

```
var origin= new Cesium.Cartesian3(x, y, 0);
var direction= new Cesium.Cartesian3(a, b, 0);
var ray=new Cesium.Ray(origin, direction);
```

var elip =new Cesium.Ellipsoid(17832.12, 83234.52, 952313.73);

```
var intersection = Cesium.IntersectionTests.rayEllipsoid(ray, cartesianPosition);
var point = Cesium.Ray.getPoint(ray, intersection.start);
``
thanks very much
```