The following method converts a geometry Interpolation Curve to an
Interpolation function (by creating an interpolation table). The method demonstrates extracting geometry information from the underlying parameterization of an edge. The edge does not have to be an
Interpolation Curve but can be any single edge.

The method assumes that there is a geometry sequence geom1 with an interpolation curve
ic1. It further assumes that there are no other geometry features and that the geometry object has a single edge. The integer
N determines how granular the interpolation table should be. It is assumed that there is only one edge in the geometry sequence (
edgeNum). Note that the curve parameter range may not be the unit interval (
minS does not have to be
0.0 and
maxS does not have to be
1.0). To run the method more than once, you can create a
cleanup method that contains the lines: