Click or drag to resize
XDL

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

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

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

Parameters

pt1
Type: Pixoneer.NXDLXGeoPoint
[In] 첫번째 좌표점.
pt2
Type: Pixoneer.NXDLXGeoPoint
[In] 두번째 좌표점.
bInterpolateDem
Type: SystemBoolean
[In] Interpolation 옵션, 만약 이 옵션이 true이면 bilinear interpolation을 수행하고 그렇지 않으면 nearest neighbor interpolation을 수행한다.
nMaxSamplintPt
Type: SystemInt32
[In] 두 점 사이의 최대 profile 추출 개수, 1보다 작으면 DEM 밴드에서 두 점 사이의 모든 점을 추출하여 검사한다.
ptLast
Type: Pixoneer.NXDLXGeoPoint
[Out] 첫번째 좌표점와의 가시성 검사를 한 마지막 점. 함수가 true를 리턴하면 두번째 좌표점인 pt2가, 그렇지 않으면 가시성 검사가 실패한 지점의 좌표점이 반환된다.

Return Value

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