# Question regarding TIN Models

**URL:** <https://community.cesium.com/t/question-regarding-tin-models/6852>\
**Category:** CesiumJS\
**Created:** [April 28, 2018, 2:31pm UTC](https://community.cesium.com/t/question-regarding-tin-models/6852 "2018-04-28T14:31:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![L\_Cayla](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@L\_Cayla](https://community.cesium.com/u/L_Cayla)\
**Post date:** [April 28, 2018, 2:31pm UTC](https://community.cesium.com/t/question-regarding-tin-models/6852/1 "2018-04-28T14:31:54Z")

</div>

Hi,  
In an investigation phase in a new project, I am considering using Cesium. The purpose here is to do visualisation of TIN (I guess in gltF format) but also calculation against it(height calculation, volumes difference, cross sections) .

While it seems Cesium handles very well 3D visualisation I am still wondering about the calculation part as it seems that a model is loaded as a single element and and not as a scene, Am I right here?. So if I have a gltf containing a set of surfaces, point and lines, I can surely visualize it, but there is no a way to access to specific line unless I define all the different elements in a separate file.

In addition it seems the geometry itself is not accessible so if I would not be able to say find a height a given coordinate.

So my question is to know if Cesium would be adapted or if I should consider another approach (say Three + Cesium as explained in the tutorial).

Thanks in advance,

-Lionel

---

<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:** [May 1, 2018, 5:17pm UTC](https://community.cesium.com/t/question-regarding-tin-models/6852/2 "2018-05-01T17:17:53Z")

</div>

Hi Lionel,

You can add a model primitive from a glTF:

```auto
var model = scene.primitives.add(Cesium.Model.fromGltf({
  url : './duck/duck.gltf'
}));

```

``

Then, you have access to the individual meshes and nodes with [Model.getMesh](https://cesiumjs.org/Cesium/Build/Documentation/Model.html?classFilter=model#getMesh) and [Model.getNode](https://cesiumjs.org/Cesium/Build/Documentation/Model.html?classFilter=model#getNode) respectively.

I’m not sure what you are trying to do with the geometry, but take a look at the[picking Sandcastle demo](https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=3D%20Tiles), and click “Pick position”. That sound similar to what you are trying to do.

Thanks,

Gabby
