# How to get Curvature Interval(max and min) of Surface

**URL:** <https://discourse.mcneel.com/t/how-to-get-curvature-interval-max-and-min-of-surface/83985>\
**Category:** Grasshopper Developer\
**Created:** [May 29, 2019, 10:01am UTC](https://discourse.mcneel.com/t/how-to-get-curvature-interval-max-and-min-of-surface/83985 "2019-05-29T10:01:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Panda\_ASW](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/panda_asw/32/322443_2.png) [@Panda\_ASW](https://discourse.mcneel.com/u/Panda_ASW)\
**Post date:** [May 29, 2019, 10:01am UTC](https://discourse.mcneel.com/t/how-to-get-curvature-interval-max-and-min-of-surface/83985/1 "2019-05-29T10:01:22Z")

</div>

Hi,  
All,How to get Curvature Interval(max and min) of Surface using c# component?

---

<div class="post-metadata">

**Author:** ![Mahdiyar](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mahdiyar/32/472862_2.png) [@Mahdiyar](https://discourse.mcneel.com/u/Mahdiyar)\
**Post date:** [May 29, 2019, 10:24am UTC](https://discourse.mcneel.com/t/how-to-get-curvature-interval-max-and-min-of-surface/83985/2 "2019-05-29T10:24:39Z")

</div>

You mean something like this?

```
var surface_curvature = srf.CurvatureAt(uv.X, uv.Y);
point = surface_curvature.Point;
normal = surface_curvature.Normal;
maximum_principal_curvature = surface_curvature.Direction(0);
maximum_principal_curvature = surface_curvature.Direction(1);
gaussian_curvature = surface_curvature.Gaussian;
mean_curvature = surface_curvature.Mean;

```

[Panda\_ASW.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/0/6095dfd35adcc9958cb52114141f6265e4878d1a.gh) (16.8 KB)

---

<div class="post-metadata">

**Author:** ![Panda\_ASW](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/panda_asw/32/322443_2.png) [@Panda\_ASW](https://discourse.mcneel.com/u/Panda_ASW)\
**Post date:** [May 29, 2019, 12:45pm UTC](https://discourse.mcneel.com/t/how-to-get-curvature-interval-max-and-min-of-surface/83985/3 "2019-05-29T12:45:47Z")

</div>

Thanks!  
But I am not mean to get the Curvature at a certain uv point!  
I want to get the max and min Curvature of the surface.
