Research > Software >
InterpolateContour interpolates the vertices and data attributes of a contour file.
DescriptionInterpolateContour is a java based tool that interpolates contour vertices and data attributes in a contour file. Contour file contours often contain widely varying numbers of sample points. The analysis of these files may require that the contours of the files be re-sampled into a regular grid. This pre-processing step allows groups of contour files to be meaningfully compared. Arbitrarily dimensioned output grids are supported, as are spline and linear interpolation between grid points. Contour files may have a data attribute associated with each sample point. If present, these are also interpolated. Multiple data attibutes per sample point are supported.
InstallationCopy java libary 'jar' file to local disk. Add this jar file to your java program class path.
InterpolateContour is used to impose a consistent structure on a group of contour files. The contour sample points are interpolated to the specified number of points per contour. The number of contours may also be chosen. Any number ( >1 ) of contours or contour points may be selected. The tool can be used to reduce the size (and associated computation time) of contour based mesh's with more samples than are required to represent the actual complexity of the represented surface. Interpolation is perormed using splines. Linear splines (order 1) produce results comparable to the existing contour resampling tools; higher order splines may be used to produce smoother interpolated curves. InterpolateContour will run without need for re-compilation on any computer that supports Java v1.5.0 (or greater).
Application will run on any computer that supports Java v1.5.0 (or greater).