home products news downloads documentation support gallery online maps resellers search
TNTmips Downloads Menu

HOME

CONTACT US

CURRENT RELEASE
  TNT 2013

DEVELOPMENT VERSION
  TNT 2014

TNTmips Pro
PRIOR RELEASES
  TNT 2012

FREE SOFTWARE
  TNTmips Free
  TNTatlas
  TNTsdk

MORE DOWNLOADS
  HASP Key Driver
  Screen Recorder
  TNT Language Kits
  Sample Geodata
  TNT Scripts

DOCUMENTATION
  TNTmips Tutorials
  Tutorial Datasets
  Technical Guides
  Scripts
  Quick Guides

MORE INFO
  Download FAQs
  FTP
  Download Managers
  Find Reseller

SITE MAP


tintov.sml


# tintov.sml
# Converts TIN object to vector object as contour lines.

# set up variables to hold flag values
numeric flagDefault = 0;
numeric flagLogScale = 1;
numeric zInterval;
TIN TinIn;
VECTOR Vout1, Vout2, Vout3;

GetInputTIN( TinIn );

GetOutputVector(Vout1);
print( "calling TinToVectorContour for Vout1" );
zInterval = 20;
Vout1 = TINToVectorContour( TinIn, zInterval );
print( "Done with Vout1" );

GetOutputVector(Vout2);
print( "calling TinToVectorContour for Vout2" );
zInterval = 40;
Vout2 = TINToVectorContour( TinIn, zInterval, flagDefault );
print( "Done with Vout1" );

GetOutputVector(Vout3);
print( "calling TinToVectorContour for Vout3" );
zInterval = 40;
# set values that work for CB_ELEV/TIN_16
numeric zStart = 1060;
numeric zEnd = 1360;
numeric zScale = 1;
numeric zOffset = 0;
Vout3 = TINToVectorContour( TinIn, zInterval, flagLogScale, 
		zInterval, zStart, zEnd, zScale  );
print( "Done with Vout3" );



Back Home ©MicroImages, Inc. 2013 Published in the United States of America
11th Floor - Sharp Tower, 206 South 13th Street, Lincoln NE 68508-2010   USA
Business & Sales: (402)477-9554  Support: (402)477-9562  Fax: (402)477-9559
Business info@microimages.com  Support support@microimages.com  Web webmaster@microimages.com

25 March 2009

page update: 26 May 11