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. Python命令行中输入pip提示不是内部或外部命令

    WIN764位,Python34 输入命令python -m pip

  2. Xilium.CefGlue怎么使用Js调用C#方法

    第1篇:.NET多种WebKit内核/Blink内核浏览器初步测评报告http://www.wuleba.com/?p=23590 第2篇:Xilium CefGlue 关于 CLR Object 与 ...

  3. System.AccessViolationException,尝试读取或写入受保护的内存。这通常指示其他内存已损坏。

    从事件查看器中发现,IIS不定期崩溃并重启的现象.抓取crash dump文件后,发现能够看到异常,但没有堆栈信息(主要是只会看托管代码的堆栈,非托管的不清楚.),问题表现及dump日志的截图如下: ...

  4. 关于Schema设计规范及SQL使用建议

    1.所有的InnoDB表都设计一个无业务用途的自增列做主键,对于绝大多数场景都是如此,真正纯只读用InnoDB表的并不多,真如此的话还不如用TokuDB来得划算: 2.字段长度满足需求前提下,尽可能选 ...

  5. Android 网络编程--URL互联网资源

    1.加入权限 <uses-permission android:name="android.permission.INTERNET"/> 2.Layout设计 < ...

  6. Android 使用AIDL调用外部服务

    好处:多个应用程序之间建立共同的服务机制,通过AIDL在不同应用程序之间达到数据的共享和数据相互操作, 本文包括: 1 .创建AIDL 服务端.2 .创建AIDL 客户端. 3.客户端调用服务端提供的 ...

  7. php生成二维码可以有以下几种方式

    1.google开放api $urlToEncode="http://bbs.lewanchina.com"; generateQRfromGoogle($urlToEncode) ...

  8. 用Filter解决乱码和jsp缓存问题

    1) 乱码Filter: 新建一个:CharSetFilter package com.my.filter; import java.io.*; import javax.servlet.*; imp ...

  9. image 与 canvas 的相互转化

    转换 Image为 Canvas 要把图片转换为Canvas(画板,画布),可以使用canvas元素 context 的drawImage方法: // 把image 转换为 canvas对象 func ...

  10. 百度地图和js操作iframe

    document.getElementById("ifarme-63").contentWindow.document.getElementById("qksv" ...