# MeshCurvatureStats class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public class MeshCurvatureStats : IDisposable
```

Analysis mesh curvature statistics.

## Constructors

- [MeshCurvatureStats](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/ctor.md): Default constructor.

## Finalizer

- [~MeshCurvatureStats](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/finalize.md): Passively releases the unmanaged pointer.

## Properties

- [Average](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/average.md): Get the average of "finite" values.
- [AverageDeviation](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/averagedeviation.md): Get the average deviation of "finite" values.
- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/count.md): Gets the number of "finite" values.
- [CurvatureStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/curvaturestyle.md): Gets the curvature style of the curvature statistics.
- [InfiniteCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/infinitecount.md): Gets the number of "infinite" values.
- [Infinity](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/infinity.md): Curvature values greater than or equal to this are considered infinite and not used to compute the average of "finite" values or the average deviation of "finite" values.
- [Mode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/mode.md): Get the mode of "finite" values.
- [Range](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/range.md): Gets the minumum and maximum curvature based on the value of CurvatureStyle: If CurvatureStyle.GaussianCurvature, the min Gaussian curvature and the max Gaussian curvature. If CurvatureStyle.MeanCurvature, the min unsigned mean curvature and the max unsigned mean curvature. If CurvatureStyle.MinimumCurvature, the min maximum unsigned radius of curvature and the max maximum unsigned radius of curvature. If CurvatureStyle.MaximumCurvature, the min minimum unsigned radius of curvature and the the max minimum unsigned radius of curvature.

## Methods

- [CreateFromMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/createfrommesh.md): (static) Gets curvature statistics from analysis mesh.
- [CreateFromMeshes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/createfrommeshes.md): (static) Gets curvature statistics from analysis meshes, and calculate total statistics.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshcurvaturestats/dispose.md): Actively releases the unmanaged pointer.
