|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.TinImporter
public class TinImporter
The Esri TinImporter component.
The TINImporter class is used to import TINs from LandXML files.
Constructor Summary | |
---|---|
TinImporter()
Constructs a TinImporter using ArcGIS Engine. |
|
TinImporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TinImporter theTinImporter = (TinImporter) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
void |
getTinNamesFromLandXML(String xmlName,
ITrackCancel pTrackCancel,
IStringArray[] ppOutTinNames)
Gets the names of the TINs from LandXML file. |
int |
hashCode()
the hashcode for this object |
void |
importFromLandXML(String xmlName,
String tinName,
ILongArray pIndices,
ITrackCancel pTrackCancel,
IStringArray[] ppOutTinNames)
Imports TIN from LandXML file. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TinImporter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TinImporter(Object obj) throws IOException
TinImporter theTinImporter = (TinImporter) obj;
obj
to TinImporter
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void importFromLandXML(String xmlName, String tinName, ILongArray pIndices, ITrackCancel pTrackCancel, IStringArray[] ppOutTinNames) throws IOException, AutomationException
Creates ArcGIS TINs by importing them from LandXML files. The output TINs will be readable by ArcGIS 10.0 and later. They cannot be read by earlier versions because they will be constrained triangulations which are not supported by versions earlier than 10.0.
xmlName is a string containing the full path to the LandXML file.
TinName is the base name for the output. The base name includes a full path to the target folder plus a name for the TIN(s). The base name must be unique and is used to name the first TIN. If it already exists an error is returned. If multiple TINs are being extracted then the subsequent TINs are named using the base plus an appended number.
pIndices is a LongArray which indicates which TINs from the input LandXML file to extract. Indices start at base 1. See GetTinNamesFromLandXML to determine what TINs are in a LandXML file. A NULL can be passed in which case all TINs will be imported.
pTrackCancel references a CancelTracker and can be used to cancel the process. To bypass this feature pass a NULL pointer.
pOutTinNames contains the short name of the output TIN(s). This is needed to discover what names were used when more than one TIN is output since unique names are synthesized by the importer.
importFromLandXML
in interface ITinImporter
xmlName
- The xmlName (in)tinName
- The tinName (in)pIndices
- A reference to a com.esri.arcgis.system.ILongArray (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)ppOutTinNames
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getTinNamesFromLandXML(String xmlName, ITrackCancel pTrackCancel, IStringArray[] ppOutTinNames) throws IOException, AutomationException
Returns the names of the TINs contained in the specified LandXML file.
xmlName is a string containing the full path to the LandXML file.
pTrackCancel references a CancelTracker object and can be used to cancel the process. To bypass this feature pass a NULL pointer.
ppOutTinNames is a StrArray into which the TIN names will be placed. It need not already be instantiated, the mthod will create it. The number of elements in the output array will be equal to the number of TINs in the LandXML file. If a TIN is in the file unnamed, it will be included as an empty string into the output array.
getTinNamesFromLandXML
in interface ITinImporter
xmlName
- The xmlName (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)ppOutTinNames
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |