Click or drag to resize
XDL

XLosGeoIsVisible(XGeoPoint, XGeoPoint, Boolean, Int32, XGeoPoint) Method

설정된 DEM 밴드 상에서 입력한 두 점 간의 시점에서 상호 보이는지를 채크한다.

Namespace: Pixoneer.NXDL.NRS
Assembly: NXDLrs (in NXDLrs.dll) Version: 3.0.0.0
Syntax
C#
public bool IsVisible(
	XGeoPoint pt1,
	XGeoPoint pt2,
	bool bInterpolateDem,
	int nMaxSamplintPt,
	ref XGeoPoint ptLast
)

Parameters

pt1  XGeoPoint
[In] 첫번째 좌표점.
pt2  XGeoPoint
[In] 두번째 좌표점.
bInterpolateDem  Boolean
[In] 보간 옵션.
만약 이 옵션이 true이면 DEM 데이터를 bilinear로 보간하고, false인 경우 nearest neighbor를 수행한다.
nMaxSamplintPt  Int32
[In] 두 점 사이의 DEM 데이터 샘플링 추출 개수, 1보다 작으면 DEM 밴드에서 두 점 사이의 모든 점을 추출하여 검사한다.
ptLast  XGeoPoint
[Out] 첫번째 좌표점과 가시성 검사를 한 마지막 좌표.
true를 리턴하면 입력한 두번째 좌표점인 pt2가, 그렇지 않으면 가시성 검사가 실패한 지점의 좌표점이 반환된다.

Return Value

Boolean
true이면 보이는 것을 의미하고 false이면 보이지 않음을 의미한다.
See Also