com.esri.arcgis.geodatabaseextensions
Class LasHeaderInfo

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.LasHeaderInfo
All Implemented Interfaces:
ILasHeaderInfo, ILasHeaderInfo2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class LasHeaderInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ILasHeaderInfo, ILasHeaderInfo2

COM Class 'LasHeaderInfo'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description 'Esri LAS header info object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasHeaderInfo2
IID, IID3b88519f_5972_45e4_9e49_d7293f84a96f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ILasHeaderInfo
IID89f48c7a_ac12_4371_92c3_194559bb354b
 
Constructor Summary
LasHeaderInfo(java.lang.Object obj)
          Construct a LasHeaderInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getExtendedVariableLengthRecords(IStringArray[] ppUserIDs, ILongArray[] recordIDs, IDoubleArray[] ppRecordLengths, IStringArray[] ppDescriptions, boolean[] pbOverLimit)
          The variable length record info.
 IEnvelope getExtent()
          The XYZ extent of points in the LAS file.
 int getFileSourceID()
          The LAS file's source ID.
 int getFlightDateJulian()
          The flight date based on the Julian calendar.
 java.lang.String getGeneratingSoftware()
          The software used to create the LAS file.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getNumberOfExtendedVariableLengthRecords()
          The number of extended variable length records in the LAS file.
 double getNumberOfPointRecords()
          The number of points in the LAS file.
 double getNumberOfPointsByReturn(int returnNumber)
          The number of points in the LAS file based on the specified LiDAR return number.
 double getNumberOfVariableLengthRecords()
          The number of variable length records in the LAS file.
 void getOffsets(double[] pOffsetX, double[] pOffsetY, double[] pOffsetZ)
          The coordinate offsets.
 int getPointDataFormat()
          The record format for points in the LAS file
 IUID getProjectID()
          The LAS file's project ID.
 void getScaleFactors(double[] pFactorX, double[] pFactorY, double[] pFactorZ)
          The coordinate scale factors.
 ISpatialReference getSpatialReference()
          The spatial reference of the LAS file.
 java.lang.String getSystemID()
          The hardware system used to collect the LiDAR data in the LAS file.
 void getVariableLengthRecords(IStringArray[] ppUserIDs, ILongArray[] recordIDs, IDoubleArray[] ppRecordLengths, IStringArray[] ppDescriptions, boolean[] pbOverLimit)
          The variable length record info.
 void getVersion(int[] pMajor, int[] pMinor)
          The version of the LAS file.
 int getYear()
          The year the data in the LAS file was collected.
 int hashCode()
          the hashcode for this object
 boolean isHasGpsTime()
          Indicates GPS time is available.
 boolean isHasRGB()
          Indicates if RGB is availabe.
 boolean isStandardGpsTime()
          Indicates if the GPS time is standard GPS Time.
 void release()
          Release a LasHeaderInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LasHeaderInfo

public LasHeaderInfo(java.lang.Object obj)
              throws java.io.IOException
Construct a LasHeaderInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LasHeaderInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
LasHeaderInfo o = (LasHeaderInfo)obj; // will not work

LasHeaderInfo o = new LasHeaderInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems LasHeaderInfo theLasHeaderInfo = (LasHeaderInfo) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a LasHeaderInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getVersion

public void getVersion(int[] pMajor,
                       int[] pMinor)
                throws java.io.IOException,
                       AutomationException
The version of the LAS file.

Specified by:
getVersion in interface ILasHeaderInfo
Parameters:
pMajor - The pMajor (out: use single element array)
pMinor - The pMinor (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointDataFormat

public int getPointDataFormat()
                       throws java.io.IOException,
                              AutomationException
The record format for points in the LAS file

Specified by:
getPointDataFormat in interface ILasHeaderInfo
Returns:
The pFormat
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSystemID

public java.lang.String getSystemID()
                             throws java.io.IOException,
                                    AutomationException
The hardware system used to collect the LiDAR data in the LAS file.

Specified by:
getSystemID in interface ILasHeaderInfo
Returns:
The pID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeneratingSoftware

public java.lang.String getGeneratingSoftware()
                                       throws java.io.IOException,
                                              AutomationException
The software used to create the LAS file.

Specified by:
getGeneratingSoftware in interface ILasHeaderInfo
Returns:
The pName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlightDateJulian

public int getFlightDateJulian()
                        throws java.io.IOException,
                               AutomationException
The flight date based on the Julian calendar.

Specified by:
getFlightDateJulian in interface ILasHeaderInfo
Returns:
The pDate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYear

public int getYear()
            throws java.io.IOException,
                   AutomationException
The year the data in the LAS file was collected.

Specified by:
getYear in interface ILasHeaderInfo
Returns:
The pYear
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointRecords

public double getNumberOfPointRecords()
                               throws java.io.IOException,
                                      AutomationException
The number of points in the LAS file.

Specified by:
getNumberOfPointRecords in interface ILasHeaderInfo
Returns:
The pcRecords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointsByReturn

public double getNumberOfPointsByReturn(int returnNumber)
                                 throws java.io.IOException,
                                        AutomationException
The number of points in the LAS file based on the specified LiDAR return number.

Specified by:
getNumberOfPointsByReturn in interface ILasHeaderInfo
Parameters:
returnNumber - The returnNumber (in)
Returns:
The pcPoints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectID

public IUID getProjectID()
                  throws java.io.IOException,
                         AutomationException
The LAS file's project ID.

Specified by:
getProjectID in interface ILasHeaderInfo
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileSourceID

public int getFileSourceID()
                    throws java.io.IOException,
                           AutomationException
The LAS file's source ID.

Specified by:
getFileSourceID in interface ILasHeaderInfo
Returns:
The pID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasRGB

public boolean isHasRGB()
                 throws java.io.IOException,
                        AutomationException
Indicates if RGB is availabe.

Specified by:
isHasRGB in interface ILasHeaderInfo
Returns:
The pbHasRGB
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasGpsTime

public boolean isHasGpsTime()
                     throws java.io.IOException,
                            AutomationException
Indicates GPS time is available.

Specified by:
isHasGpsTime in interface ILasHeaderInfo
Returns:
The pbHasGpsTime
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStandardGpsTime

public boolean isStandardGpsTime()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the GPS time is standard GPS Time.

Specified by:
isStandardGpsTime in interface ILasHeaderInfo
Returns:
The pbIsAStandard
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The XYZ extent of points in the LAS file.

Specified by:
getExtent in interface ILasHeaderInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the LAS file.

Specified by:
getSpatialReference in interface ILasHeaderInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffsets

public void getOffsets(double[] pOffsetX,
                       double[] pOffsetY,
                       double[] pOffsetZ)
                throws java.io.IOException,
                       AutomationException
The coordinate offsets.

Specified by:
getOffsets in interface ILasHeaderInfo
Parameters:
pOffsetX - The pOffsetX (out: use single element array)
pOffsetY - The pOffsetY (out: use single element array)
pOffsetZ - The pOffsetZ (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScaleFactors

public void getScaleFactors(double[] pFactorX,
                            double[] pFactorY,
                            double[] pFactorZ)
                     throws java.io.IOException,
                            AutomationException
The coordinate scale factors.

Specified by:
getScaleFactors in interface ILasHeaderInfo
Parameters:
pFactorX - The pFactorX (out: use single element array)
pFactorY - The pFactorY (out: use single element array)
pFactorZ - The pFactorZ (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfVariableLengthRecords

public double getNumberOfVariableLengthRecords()
                                        throws java.io.IOException,
                                               AutomationException
The number of variable length records in the LAS file.

Specified by:
getNumberOfVariableLengthRecords in interface ILasHeaderInfo
Returns:
The pcRecords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariableLengthRecords

public void getVariableLengthRecords(IStringArray[] ppUserIDs,
                                     ILongArray[] recordIDs,
                                     IDoubleArray[] ppRecordLengths,
                                     IStringArray[] ppDescriptions,
                                     boolean[] pbOverLimit)
                              throws java.io.IOException,
                                     AutomationException
The variable length record info.

Specified by:
getVariableLengthRecords in interface ILasHeaderInfo
Parameters:
ppUserIDs - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
recordIDs - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppRecordLengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
ppDescriptions - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
pbOverLimit - The pbOverLimit (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfExtendedVariableLengthRecords

public double getNumberOfExtendedVariableLengthRecords()
                                                throws java.io.IOException,
                                                       AutomationException
The number of extended variable length records in the LAS file.

Specified by:
getNumberOfExtendedVariableLengthRecords in interface ILasHeaderInfo2
Returns:
The pcRecords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtendedVariableLengthRecords

public void getExtendedVariableLengthRecords(IStringArray[] ppUserIDs,
                                             ILongArray[] recordIDs,
                                             IDoubleArray[] ppRecordLengths,
                                             IStringArray[] ppDescriptions,
                                             boolean[] pbOverLimit)
                                      throws java.io.IOException,
                                             AutomationException
The variable length record info.

Specified by:
getExtendedVariableLengthRecords in interface ILasHeaderInfo2
Parameters:
ppUserIDs - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
recordIDs - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppRecordLengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
ppDescriptions - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
pbOverLimit - The pbOverLimit (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.