|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.analyst3dtools.LineOfSight
public class LineOfSight
Uses an input 2D or 3D polyline feature class along with a raster, TIN, or terrain surface to determine visibility between 'from' and 'to' points.
Produces an output line feature class that contains line and target visibility information.
If one or more targets are not visible, the Line of Sight tool produces an output point feature class. This contains the location of the first obstruction encountered for each line whose target is not visible.
The Line Of Sight tool is contained in the 3D Analyst Tools tool box.
Learn more about how Line of Sight (3D Analyst) works
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
LineOfSight()
Creates the Line Of Sight tool with defaults. |
|
LineOfSight(Object inSurface,
Object inLineFeatureClass,
Object outLosFeatureClass)
Creates the Line Of Sight tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getInLineFeatureClass()
Returns the Input Line Feature Class parameter of this tool . |
Object |
getInSurface()
Returns the Input Surface parameter of this tool . |
Object |
getOutLosFeatureClass()
Returns the Output Feature Class parameter of this tool . |
Object |
getOutObstructionFeatureClass()
Returns the Output Obstruction Point Feature Class parameter of this tool . |
double |
getPyramidLevelResolution()
Returns the Pyramid Level Resolution parameter of this tool . |
double |
getRefractionFactor()
Returns the Refraction Factor parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
String |
getUseCurvature()
Returns the Use Curvature parameter of this tool . |
String |
getUseRefraction()
Returns the Use Refraction parameter of this tool . |
void |
setInLineFeatureClass(Object inLineFeatureClass)
Sets the Input Line Feature Class parameter of this tool . |
void |
setInSurface(Object inSurface)
Sets the Input Surface parameter of this tool . |
void |
setOutLosFeatureClass(Object outLosFeatureClass)
Sets the Output Feature Class parameter of this tool . |
void |
setOutObstructionFeatureClass(Object outObstructionFeatureClass)
Sets the Output Obstruction Point Feature Class parameter of this tool . |
void |
setPyramidLevelResolution(double pyramidLevelResolution)
Sets the Pyramid Level Resolution parameter of this tool . |
void |
setRefractionFactor(double refractionFactor)
Sets the Refraction Factor parameter of this tool . |
void |
setUseCurvature(String useCurvature)
Sets the Use Curvature parameter of this tool . |
void |
setUseRefraction(String useRefraction)
Sets the Use Refraction parameter of this tool . |
| Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
getParameterValues, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LineOfSight()
Initializes the array of tool parameters with the default values specified when the tool was created.
public LineOfSight(Object inSurface,
Object inLineFeatureClass,
Object outLosFeatureClass)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inSurface - Tin Layer | Raster Layer, the input raster, TIN, or Terrain surface on which calculations will be based.inLineFeatureClass - Feature Layer, the input polyline feature class along which visibility will be calculated. This may be a 2-D or 3-D feature class.outLosFeatureClass - Feature Class, the output line feature class along which visibility has been determined. Two attribute fields are created. VisCode indicates visibility along the line, 1 being visible and 2 not visible. TarIsVis indicates the target visibility, 0 being not visible and 1 being visible.| Method Detail |
|---|
public Object getInSurface()
public void setInSurface(Object inSurface)
inSurface - Tin Layer | Raster Layer, the input raster, TIN, or Terrain surface on which calculations will be based.public Object getInLineFeatureClass()
public void setInLineFeatureClass(Object inLineFeatureClass)
inLineFeatureClass - Feature Layer, the input polyline feature class along which visibility will be calculated. This may be a 2-D or 3-D feature class.public Object getOutLosFeatureClass()
public void setOutLosFeatureClass(Object outLosFeatureClass)
outLosFeatureClass - Feature Class, the output line feature class along which visibility has been determined. Two attribute fields are created. VisCode indicates visibility along the line, 1 being visible and 2 not visible. TarIsVis indicates the target visibility, 0 being not visible and 1 being visible.public Object getOutObstructionFeatureClass()
public void setOutObstructionFeatureClass(Object outObstructionFeatureClass)
outObstructionFeatureClass - Feature Class, the output point feature class indicating the first obstruction point along the line of sight if the target is not visible.public String getUseCurvature()
public void setUseCurvature(String useCurvature)
useCurvature - String, use this option to incorporate earth curvature in the calculation. For this option to be enabled, the surface needs to have a defined spatial reference in projected coordinates with defined z units.public String getUseRefraction()
public void setUseRefraction(String useRefraction)
useRefraction - String, use this option to incorporate atmospheric refraction of light in the calculation.public double getRefractionFactor()
public void setRefractionFactor(double refractionFactor)
refractionFactor - Double, provides a value to be used in the refraction factor. The default refraction factor is 0.13.public double getPyramidLevelResolution()
public void setPyramidLevelResolution(double pyramidLevelResolution)
pyramidLevelResolution - Double, the resolution, given in z-tolerance, of the pyramid level to use for conversion. The default is 0, full resolution.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||