With the code samples reported in this article, you can display curvature mapping of surfaces and curves with Eyeshot.
The following picture shows the curvature mapping of a surface:
Please note that there are different types of surface's curvature to display: Kappa1, Kappa2, Mean and Gauss. You can learn more about surface curvatures at this link:
http://en.wikipedia.org/wiki/Curvature
The code used to display it, is reported below:
You can display also curve curvature as shows the picture below:
with the following code:
Please note that function Curve.ComputeCurvatureGraph() needs a scale factor as input, necessary to define the curvature vectors length.