new UAnalySlope(opt)
| Name | Type | Default | Description |
|---|---|---|---|
opt |
UAnalySlope~UAnalySlopeCO | {} | optional |
Example
const slope = app.getAnalysis('Slope');
slope.setStart(startVec3);
slope.setEnd(endVec3);
const result = slope.getSlope();
Methods
-
active()UAnalySlope
-
Returns:
Type Description UAnalySlope -
addIndicator(poi)UAnalySlope
-
인디케이터(POI)를 추가하는 함수
Name Type Description poiU3dPOI Returns:
Type Description UAnalySlope -
addVertex(geox, geoy)UAnalySlope
-
Name Type Description geoxnumber geoynumber Returns:
Type Description UAnalySlope -
clear()UAnalySlope
-
Returns:
Type Description UAnalySlope -
deactive()UAnalySlope
-
Returns:
Type Description UAnalySlope -
getDivide()number
-
경사도 분할 수를 반환하는 함수
Returns:
Type Description number -
getEnd()Vector3|undefined
-
분석 끝점을 반환하는 함수
Returns:
Type Description Vector3 | undefined -
getIndicator()U3dPOI
-
인디케이터(POI)를 반환하는 함수
Returns:
Type Description U3dPOI -
getMeasureLength()number
-
측정 길이를 반환하는 함수
Returns:
Type Description number -
경사도 분석 결과를 반환하는 함수
Name Type Description dividenumber optional 경사도 분할 수 (설정 시 divide 값 갱신)
Returns:
Type Description Array.<{position: Vector3, height: number}> | undefined -
getStart()Vector3|undefined
-
분석 시작점을 반환하는 함수
Returns:
Type Description Vector3 | undefined -
removeIndicator()UAnalySlope
-
인디케이터(POI)를 제거하는 함수
Returns:
Type Description UAnalySlope -
setDivide(divide)UAnalySlope
-
경사도 분할 수를 설정하는 함수
Name Type Description dividenumber 분할 수
Returns:
Type Description UAnalySlope -
setEnd(point)UAnalySlope
-
분석 끝점을 설정하는 함수입니다.
Name Type Description pointWorldPositionVector3 끝점 3D 좌표 (월드 좌표, EPSG:3857)
Returns:
Type Description UAnalySlope -
setPoints(start, end)UAnalySlope|undefined
-
시작점과 끝점을 직접 설정하는 함수입니다.
Name Type Description startWorldPositionVector3 시작점 좌표 (월드 좌표, EPSG:3857)
endWorldPositionVector3 끝점 좌표 (월드 좌표, EPSG:3857)
Returns:
Type Description UAnalySlope | undefined -
setStart(point)UAnalySlope
-
분석 시작점을 설정하는 함수입니다.
Name Type Description pointWorldPositionVector3 시작점 3D 좌표 (월드 좌표, EPSG:3857)
Returns:
Type Description UAnalySlope -
update(drawArg)UAnalySlope
-
Name Type Description drawArgUDrawArg optional Returns:
Type Description UAnalySlope
Type Definitions
-
UAnalySlopeCOobject
-
~extends UAnaly~UAnalyCO
UAnalySlope 생성자 옵션Properties:
Name Type Argument Default Description namestring <optional>
'Slope' 분석 클래스 이름
dividenumber <optional>
60 경사도 분할 수