GeOnDT GeOnDT for JS

Class: U3dQuadTile

U3dQuadTile

new U3dQuadTile()

Methods

getHeightAtPoint(x, y)number

타일의 지오메트리에서 입력받은 x,y(google 좌표)에 해당하는 z 값을 추출하는 함수, 4점을 추출하여 mix한 값이다.(구글 스케일이 적용된 z 값)

Name Type Description
x number

google 좌표 X

y number

google 좌표 Y

Returns:
Type Description
number 구글 스케일이 적용된 z

getHeightAtPointPrev(x, y)number

타일의 지오메트리에서 입력받은 x,y(google 좌표)에 해당하는 z 값을 추출하는 함수, 4점을 추출하여 mix한 값이다.(구글 스케일이 적용된 z 값)

Name Type Description
x number

google 좌표 X

y number

google 좌표 Y

Returns:
Type Description
number 구글 스케일이 적용된 z

getHeightByXY(x, y)number

타일의 지오메트리에서 입력받은 x,y(지오메트리 attributes 인덱스)에 해당하는 z 값을 추출하는 함수 (구글 스케일이 적용된 z 값)

Name Type Description
x number

attributes 인덱스 X

y number

attributes 인덱스 Y

Returns:
Type Description
number 구글 스케일이 적용된 z

getKey()string

Returns:
Type Description
string