# Point in Ellipse

**URL:** <https://community.cesium.com/t/point-in-ellipse/29056>\
**Category:** CesiumJS\
**Created:** [January 3, 2024, 11:05am UTC](https://community.cesium.com/t/point-in-ellipse/29056 "2024-01-03T11:05:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Onurhan\_Tufekci](https://avatars.discourse-cdn.com/v4/letter/o/cab0a1/32.png) [@Onurhan\_Tufekci](https://community.cesium.com/u/Onurhan_Tufekci)\
**Post date:** [January 3, 2024, 11:05am UTC](https://community.cesium.com/t/point-in-ellipse/29056/1 "2024-01-03T11:05:17Z")

</div>

Hi,

Is there a way to check whether a point or a specific coordinate in cesium falls within an ellipse I created ?

---

<div class="post-metadata">

**Author:** ![Shehzan\_Mohammed](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/shehzan_mohammed/32/2002_2.png) [@Shehzan\_Mohammed](https://community.cesium.com/u/Shehzan_Mohammed)\
**Post date:** [January 3, 2024, 1:00pm UTC](https://community.cesium.com/t/point-in-ellipse/29056/2 "2024-01-03T13:00:18Z")

</div>



---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [January 5, 2024, 8:20pm UTC](https://community.cesium.com/t/point-in-ellipse/29056/3 "2024-01-05T20:20:52Z")

</div>

Hi @Onurhan\_Tufekci,

There is no built-in functionality in the CesiumJS library for this, but it should be fairly straightforward to compute depending on the scenario. Is this a 2D ellipse on the earth’s surface? Or a 3D ellipsoid?

---

<div class="post-metadata">

**Author:** ![Onurhan\_Tufekci](https://avatars.discourse-cdn.com/v4/letter/o/cab0a1/32.png) [@Onurhan\_Tufekci](https://community.cesium.com/u/Onurhan_Tufekci)\
**Post date:** [January 9, 2024, 7:42am UTC](https://community.cesium.com/t/point-in-ellipse/29056/4 "2024-01-09T07:42:44Z")

</div>

Hi @Gabby_Getz

2D ellipse, I calculated the point intersection but I need to understand whether they intersect in a situation like in the picture. I also wanted to share it on the forum, but I cannot share pictures.

![](https://global.discourse-cdn.com/cesium/original/3X/a/6/a663694b3a365a9782ad78f306c652f78dc90387.jpeg)

5 Oca 2024 Cum, saat 23:30 tarihinde Gabby Getz via Cesium Community \<[notifications@cesium.discoursemail.com](mailto:notifications@cesium.discoursemail.com)\> şunu yazdı:
