IGeoDatabaseBridge2.GetLineOfSight Method

Returns a line-of-site indicator interpolated from the TIN based on an input polyline.

[Visual Basic 6.0]
Sub GetLineOfSight(
    ByVal pSurface As ISurface, _
    ByVal pObserver As IPoint, _
    ByVal pTarget As IPoint, _
    ppObstruction As IPoint, _
    ppVisibleLines As IPolyline, _
    ppInvisibleLines As IPolyline, _
    pbIsVisible As Boolean, _
    ByVal bApplyCurvature As Boolean, _
    ByVal bApplyRefraction As Boolean, _
    [pRefractionFactor As Variant] _
)
[Visual Basic .NET]
Public Sub GetLineOfSight ( _
    ByVal pSurface As ISurface, _
    ByVal pObserver As IPoint, _
    ByVal pTarget As IPoint, _
    ByRef ppObstruction As IPoint, _
    ByRef ppVisibleLines As IPolyline, _
    ByRef ppInvisibleLines As IPolyline, _
    ByRef pbIsVisible As Boolean, _
    ByVal bApplyCurvature As Boolean, _
    ByVal bApplyRefraction As Boolean, _
    [ByRef pRefractionFactor As Object] _
)
[C#]
public void GetLineOfSight (
    ISurface pSurface,
    IPoint pObserver,
    IPoint pTarget,
    ref IPoint ppObstruction,
    ref IPolyline ppVisibleLines,
    ref IPolyline ppInvisibleLines,
    ref bool pbIsVisible,
    ref bool bApplyCurvature,
    ref bool bApplyRefraction,
    ref object pRefractionFactor
);
[C#]

Optional Values

pRefractionFactor   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[Java]
public void getLineOfSight (
    ISurface pSurface,
    IPoint pObserver,
    IPoint pTarget,
    IPoint ppObstruction,
    IPolyline ppVisibleLines,
    IPolyline ppInvisibleLines,
    Boolean pbIsVisible,
    Boolean bApplyCurvature,
    Boolean bApplyRefraction,
    Object pRefractionFactor
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetLineOfSight(
  ISurface* pSurface,
  IPoint* pObserver,
  IPoint* pTarget,
  IPoint** ppObstruction,
  IPolyline** ppVisibleLines,
  IPolyline** ppInvisibleLines,
  VARIANT_BOOL* pbIsVisible,
  VARIANT_BOOL bApplyCurvature,
  VARIANT_BOOL bApplyRefraction,
  VARIANT* pRefractionFactor
);
[C++]

Parameters

pSurface [in]

  pSurface is a parameter of type ISurface

pObserver [in]

  pObserver is a parameter of type IPoint

pTarget [in]

  pTarget is a parameter of type IPoint

ppObstruction [out]

  ppObstruction is a parameter of type IPoint

ppVisibleLines [out]

  ppVisibleLines is a parameter of type IPolyline

ppInvisibleLines [out]

  ppInvisibleLines is a parameter of type IPolyline

pbIsVisible [out]

  pbIsVisible is a parameter of type VARIANT_BOOL

bApplyCurvature [in]

  bApplyCurvature is a parameter of type VARIANT_BOOL

bApplyRefraction [in]

  bApplyRefraction is a parameter of type VARIANT_BOOL

pRefractionFactor [optional]

  pRefractionFactor is a parameter of type VARIANT

To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.


Product Availability

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

See Also

IGeoDatabaseBridge2.GetLineOfSight的更多相关文章

  1. 《zw版·Halcon-delphi系列原创教程》 Halcon分类函数005·graphics-obj,基本绘图单元,包括线段、矩形、椭圆、圆形

    <zw版·Halcon-delphi系列原创教程> Halcon分类函数005·graphics-obj,基本绘图单元,包括线段.矩形.椭圆.圆形 graphics-obj,基本绘图单元, ...

  2. 《zw版·delphi与halcon系列原创教程》zw版_THOperatorSetX控件函数列表 v11中文增强版

    <zw版·delphi与halcon系列原创教程>zw版_THOperatorSetX控件函数列表v11中文增强版 Halcon虽然庞大,光HALCONXLib_TLB.pas文件,源码就 ...

随机推荐

  1. vs2010设置 "行号显示"

    Microsoft Visual Studio 2010 默认情况下是不显示代码的行号的.在编译出错时,可点击下面输出窗口中的错误提示进行定位. 但是这样操作起来你有没有感觉到不方便呢. 不显示行号时 ...

  2. AngularJS初始化普通数组和对象数组

    普通数组: ng-init="persons=['john','jack']" 对象数组: ng-init="persons=[{name:'john',age:20}, ...

  3. ASP.NET SignalR 与 LayIM2.0 配合轻松实现Web聊天室 实战系列。开源啦!!!

    自此系列博客开写以来,好多同学关心开源问题,之前由于网络问题,发布到Github上老是失败,今天终于在精简了好多无用的文件之后发布上去了. 注意:layim源代码并不开源,由于版权问题,请大家去官网了 ...

  4. 阿里DNS

    二.阿里公共DNS http://www.alidns.com 全球统一服务ip: 223.5.5.5 223.6.6.6

  5. SQLSERVER 复制表--和复制有关的系统表

    主数据库中的复制表 表名 说明 MSreplication_options 表存储供复制在内部使用的元数据. 此表存储在 master 数据库中. msdb 数据库中的复制表 表名 说明 MSagen ...

  6. CGI相关概念

    common gateway interface 通用网关接口 可以让客户端从浏览器向执行在服务器上的程序请求数据.CGI描述了客户端和服务器程序之间传输数据的一种标准. 编程语言perl是一种被广泛 ...

  7. 客户端TortoiseSVN的安装及使用方法

    一.客户端TortoiseSVN的安装 运行TortoiseSVN程序,点击Next,下面的截图顺序即为安装步骤: 图1: 图2: 图3: 图4: 点击Finish按钮后会提示重启系统,其实不重启也没 ...

  8. MyBatis插入多条

    <insert id="insertProjectPropertyRelList" parameterType="java.util.List"> ...

  9. Redis安装创建

    安装 下载,解压和安装: $ wget http://download.redis.io/releases/redis-2.8.17.tar.gz $ tar xzf redis-2.8.17.tar ...

  10. web几个高性能框架的简单测试

    参考的这里 压测工具 wrk -t16 -c100 -d30s http://127.0.0.1:8080/rest/hello 测试代码 package main import ( "st ...