com.esri.arcgis.geodatabaseextensions
Class LasPointInfo

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.LasPointInfo
All Implemented Interfaces:
ILasPointInfo, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class LasPointInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILasPointInfo

Esri LAS point info object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
LasPointInfo()
          Constructs a LasPointInfo using ArcGIS Engine.
LasPointInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LasPointInfo theLasPointInfo = (LasPointInfo) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 Object getAttributeValue(int attribute)
          The LAS attribute.
 byte getClassCode()
          The class code.
static String getClsid()
          getClsid.
 void getColor(int[] pRed, int[] pGreen, int[] pBlue)
          The red color component.
 byte getEdgeOfFlightLine()
          The edge of flight line.
 int getFileIndex()
          The 0-based associated file index.
 double getGpsTime()
          The GPS time.
 int getIntensity()
          The intensity.
 IPoint getLocation()
          The point's location.
 byte getNumberOfReturns()
          The number of returns.
 double getPointID()
          The 1-based point's record number.
 int getPointSourceID()
          The point source ID.
 byte getReturnNumber()
          The return number.
 short getScanAngleRank()
          The scan angle rank.
 byte getScanDirectionFlag()
          The scan direction flag.
 ISpatialReference getSpatialReference()
          The spatial reference of the point's location.
 short getUserData()
          The user data.
 _WKSPointZ getWksLocation()
          The point's location.
 int hashCode()
          the hashcode for this object
 boolean isKeyPoint()
          Indicates if the point is a key point.
 boolean isSyntheticPoint()
          Indicates if the point is a synthetic point.
 boolean isWithheld()
          Indicates if the point is marked withheld.
 void queryLocation(IPoint pPoint)
          The point's location.
 void setClassCode(byte pCode)
          The class code.
 void setColor(int red, int green, int blue)
          The red color component.
 void setEdgeOfFlightLine(byte pEdge)
          The edge of flight line.
 void setFileIndex(int pIndex)
          The 0-based associated file index.
 void setGpsTime(double pTime)
          The GPS time.
 void setIntensity(int pIntensity)
          The intensity.
 void setIsKeyPoint(boolean pbIsKey)
          Indicates if the point is a key point.
 void setIsSyntheticPoint(boolean pbIsSynthetic)
          Indicates if the point is a synthetic point.
 void setIsWithheld(boolean pbIsWithheld)
          Indicates if the point is marked withheld.
 void setLocation(IPoint ppPoint)
          The point's location.
 void setNumberOfReturns(byte pCount)
          The number of returns.
 void setPointID(double pID)
          The 1-based point's record number.
 void setPointSourceID(int pID)
          The point source ID.
 void setReturnNumber(byte pNumber)
          The return number.
 void setScanAngleRank(short pAngle)
          The scan angle rank.
 void setScanDirectionFlag(byte pFlag)
          The scan direction flag.
 void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
          The spatial reference of the point's location.
 void setUserData(short pData)
          The user data.
 void setWksLocation(_WKSPointZ pPoint)
          The point's location.
 
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

LasPointInfo

public LasPointInfo()
             throws IOException,
                    UnknownHostException
Constructs a LasPointInfo using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

LasPointInfo

public LasPointInfo(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LasPointInfo theLasPointInfo = (LasPointInfo) obj;

Construct a LasPointInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LasPointInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setFileIndex

public void setFileIndex(int pIndex)
                  throws IOException,
                         AutomationException
The 0-based associated file index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setFileIndex in interface ILasPointInfo
Parameters:
pIndex - The pIndex (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileIndex

public int getFileIndex()
                 throws IOException,
                        AutomationException
The 0-based associated file index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFileIndex in interface ILasPointInfo
Returns:
The pIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPointID

public void setPointID(double pID)
                throws IOException,
                       AutomationException
The 1-based point's record number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPointID in interface ILasPointInfo
Parameters:
pID - The pID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointID

public double getPointID()
                  throws IOException,
                         AutomationException
The 1-based point's record number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setReturnNumber

public void setReturnNumber(byte pNumber)
                     throws IOException,
                            AutomationException
The return number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setReturnNumber in interface ILasPointInfo
Parameters:
pNumber - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReturnNumber

public byte getReturnNumber()
                     throws IOException,
                            AutomationException
The return number.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getReturnNumber in interface ILasPointInfo
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumberOfReturns

public void setNumberOfReturns(byte pCount)
                        throws IOException,
                               AutomationException
The number of returns.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setNumberOfReturns in interface ILasPointInfo
Parameters:
pCount - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfReturns

public byte getNumberOfReturns()
                        throws IOException,
                               AutomationException
The number of returns.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNumberOfReturns in interface ILasPointInfo
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScanDirectionFlag

public void setScanDirectionFlag(byte pFlag)
                          throws IOException,
                                 AutomationException
The scan direction flag.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setScanDirectionFlag in interface ILasPointInfo
Parameters:
pFlag - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScanDirectionFlag

public byte getScanDirectionFlag()
                          throws IOException,
                                 AutomationException
The scan direction flag.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getScanDirectionFlag in interface ILasPointInfo
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEdgeOfFlightLine

public void setEdgeOfFlightLine(byte pEdge)
                         throws IOException,
                                AutomationException
The edge of flight line.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setEdgeOfFlightLine in interface ILasPointInfo
Parameters:
pEdge - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdgeOfFlightLine

public byte getEdgeOfFlightLine()
                         throws IOException,
                                AutomationException
The edge of flight line.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getEdgeOfFlightLine in interface ILasPointInfo
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassCode

public void setClassCode(byte pCode)
                  throws IOException,
                         AutomationException
The class code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setClassCode in interface ILasPointInfo
Parameters:
pCode - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassCode

public byte getClassCode()
                  throws IOException,
                         AutomationException
The class code.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getClassCode in interface ILasPointInfo
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsWithheld

public void setIsWithheld(boolean pbIsWithheld)
                   throws IOException,
                          AutomationException
Indicates if the point is marked withheld.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setIsWithheld in interface ILasPointInfo
Parameters:
pbIsWithheld - The pbIsWithheld (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isWithheld

public boolean isWithheld()
                   throws IOException,
                          AutomationException
Indicates if the point is marked withheld.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isWithheld in interface ILasPointInfo
Returns:
The pbIsWithheld
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsKeyPoint

public void setIsKeyPoint(boolean pbIsKey)
                   throws IOException,
                          AutomationException
Indicates if the point is a key point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setIsKeyPoint in interface ILasPointInfo
Parameters:
pbIsKey - The pbIsKey (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKeyPoint

public boolean isKeyPoint()
                   throws IOException,
                          AutomationException
Indicates if the point is a key point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isKeyPoint in interface ILasPointInfo
Returns:
The pbIsKey
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsSyntheticPoint

public void setIsSyntheticPoint(boolean pbIsSynthetic)
                         throws IOException,
                                AutomationException
Indicates if the point is a synthetic point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setIsSyntheticPoint in interface ILasPointInfo
Parameters:
pbIsSynthetic - The pbIsSynthetic (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSyntheticPoint

public boolean isSyntheticPoint()
                         throws IOException,
                                AutomationException
Indicates if the point is a synthetic point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSyntheticPoint in interface ILasPointInfo
Returns:
The pbIsSynthetic
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIntensity

public void setIntensity(int pIntensity)
                  throws IOException,
                         AutomationException
The intensity.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setIntensity in interface ILasPointInfo
Parameters:
pIntensity - The pIntensity (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIntensity

public int getIntensity()
                 throws IOException,
                        AutomationException
The intensity.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getIntensity in interface ILasPointInfo
Returns:
The pIntensity
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScanAngleRank

public void setScanAngleRank(short pAngle)
                      throws IOException,
                             AutomationException
The scan angle rank.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setScanAngleRank in interface ILasPointInfo
Parameters:
pAngle - The pAngle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScanAngleRank

public short getScanAngleRank()
                       throws IOException,
                              AutomationException
The scan angle rank.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getScanAngleRank in interface ILasPointInfo
Returns:
The pAngle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserData

public void setUserData(short pData)
                 throws IOException,
                        AutomationException
The user data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setUserData in interface ILasPointInfo
Parameters:
pData - The pData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUserData

public short getUserData()
                  throws IOException,
                         AutomationException
The user data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getUserData in interface ILasPointInfo
Returns:
The pData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPointSourceID

public void setPointSourceID(int pID)
                      throws IOException,
                             AutomationException
The point source ID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPointSourceID in interface ILasPointInfo
Parameters:
pID - The pID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointSourceID

public int getPointSourceID()
                     throws IOException,
                            AutomationException
The point source ID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setGpsTime

public void setGpsTime(double pTime)
                throws IOException,
                       AutomationException
The GPS time.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setGpsTime in interface ILasPointInfo
Parameters:
pTime - The pTime (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGpsTime

public double getGpsTime()
                  throws IOException,
                         AutomationException
The GPS time.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGpsTime in interface ILasPointInfo
Returns:
The pTime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

public void setColor(int red,
                     int green,
                     int blue)
              throws IOException,
                     AutomationException
The red color component.

Description

Sets the red, green and blue color values of the point.

Red is the red color component.

Green is the green color component.

Blue is the blue color component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setColor in interface ILasPointInfo
Parameters:
red - The red (in)
green - The green (in)
blue - The blue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

public void getColor(int[] pRed,
                     int[] pGreen,
                     int[] pBlue)
              throws IOException,
                     AutomationException
The red color component.

Description

Retrieves the red, green and blue color values of the point.

pRed is the red color component.

pGreen is the green color component.

pBlue is the blue color component.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getColor in interface ILasPointInfo
Parameters:
pRed - The pRed (out: use single element array)
pGreen - The pGreen (out: use single element array)
pBlue - The pBlue (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocation

public void setLocation(IPoint ppPoint)
                 throws IOException,
                        AutomationException
The point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setLocation in interface ILasPointInfo
Parameters:
ppPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocation

public IPoint getLocation()
                   throws IOException,
                          AutomationException
The point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLocation in interface ILasPointInfo
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWksLocation

public void setWksLocation(_WKSPointZ pPoint)
                    throws IOException,
                           AutomationException
The point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setWksLocation in interface ILasPointInfo
Parameters:
pPoint - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWksLocation

public _WKSPointZ getWksLocation()
                          throws IOException,
                                 AutomationException
The point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getWksLocation in interface ILasPointInfo
Returns:
A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocation

public void queryLocation(IPoint pPoint)
                   throws IOException,
                          AutomationException
The point's location.

Description

Queries the location information of the point.

pPoint is IPoint object representing the point loation. This object needs to be pre-initialized.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
queryLocation in interface ILasPointInfo
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
                              throws IOException,
                                     AutomationException
The spatial reference of the point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSpatialReferenceByRef in interface ILasPointInfo
Parameters:
ppSpatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference of the point's location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getAttributeValue

public Object getAttributeValue(int attribute)
                         throws IOException,
                                AutomationException
The LAS attribute.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAttributeValue in interface ILasPointInfo
Parameters:
attribute - A com.esri.arcgis.geodatabaseextensions.esriLasAttributeType constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.