> For the complete documentation index, see [llms.txt](https://gitbook.testingwaters.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.testingwaters.in/lists/topography-analysis.md).

# Topography Analysis

![](/files/-LhLTE0BiobwjyKEcith)

{% file src="/files/-LhLTiv8qriT8DALOBIg" %}

```d
TopoMesh=TopoRev.Mesh;
TopoVer=TopoMesh.VertexPositions;
TopoInd=TopoMesh.FaceIndices;
MesVerA=List.GetItemAtIndex(TopoVer,TopoInd.A);
MesVerB=List.GetItemAtIndex(TopoVer,TopoInd.B);
MesVerC=List.GetItemAtIndex(TopoVer,TopoInd.C);
MesSur=Surface.ByPerimeterPoints(List.Transpose([MesVerA,MesVerB,MesVerC]));

//Color
Cols=[Color.ByARGB(255,255,0,0),Color.ByARGB(255,0,0,255),Color.ByARGB(255,0,255,0)];
ColInd=[0,0.95,1];

//Surface Normal Angle To Vertical
MesNor=MesSur.NormalAtPoint(MesSur.PointAtParameter(0.5,0.5));
NorAng=MesNor.Dot(Vector.ZAxis());
```

![](/files/-LhLTnWY4neD18tRV2Ry)

![](/files/-LhLTpzpzEUr5lOG7x0l)

![](/files/-LhLTsnKKj-98QevZzye)

{% file src="/files/-LhLTyM9nwTa14xyQpEh" %}
