new UAnalySun(opt)
| Name | Type | Default | Description |
|---|---|---|---|
opt |
UAnalySunCO | {} | optional |
Example
const analy = app.activeAnalysis('SunAmount');
await analy.active();
Members
-
drawUDraw undefined
-
-
modestring
-
-
staticUAnalySun.UAnalySunFloat32Array
-
Methods
-
active()
-
-
analySunAmount(start, end, position, step, drawOpt, dist)Array.<object>
-
설정된 분석 시간과 위치에서 일조량 분석을 수행하는 함수.
Name Type Default Description startDate 분석 시작 시간
endDate 분석 종료 시간
positionGeoPosition 일조량 분석을 수행할 지점 - 위경도 좌표
stepnumber 1 optional 분석 시간 간격(분)
drawOptDrawSunOpt {} optional 일조량 분석 결과 가시화 옵션
distnumber 5000 optional 분석을 수행할 반경(km)
Returns:
Type Description Array.<object> 일조량 분석 결과를 담은 배열 -
clear()
-
-
deactive()
-
-
getSunAmountDrawMeshes()Array.<Object3D>
-
화면에 출력되는 일조량 분석 결과 3D 큐브를 반환하는 함수.
Returns:
Type Description Array.<Object3D> 분석 결과 3D 큐브가 담긴 배열 -
removeAnalySunAmount(name)
-
분석 결과 3D 큐브 이름을 파라미터로 받아 해당 큐브를 제거하는 함수.
Name Type Description namestring 제거할 분석 결과 3D 큐브의 이름
-
removeSunAmountByName(name)
-
Name Type Description namestring -
setAfterClick(callback)
-
Name Type Description callbackfunction -
setApp(app)
-
Name Type Description appobject -
setDrawInterval(interval)
-
Name Type Description intervalnumber -
setMeasureRadius(radius)
-
Name Type Description radiusnumber -
setMode(mode)
-
Name Type Description modestring -
setUserStyle(style)
-
Name Type Description styleRecord.<number, {min: number, max: number, color: string}>
Type Definitions
-
BVHGeometryobject
-
~extends BufferGeometry
Properties:
Name Type Argument Description boundsTreeUAnalySun.types~BVHTree <optional>
computeBoundsTreefunction <optional>
classtypestring <optional>
-
BVHTreeobject
-
Properties:
Name Type Argument Description intersectsBoxfunction closestPointToPointfunction <optional>
shapecastfunction <optional>
-
DrawAreaFeatureobject
-
Properties:
Name Type Description getGeometryfunction getGeoVertexfunction -
DrawAreaGeometryobject
-
Properties:
Name Type Description getCoordinatesfunction getExtentfunction containsXYfunction -
DrawSunOptobject
-
Properties:
Name Type Argument Description isDrawboolean <optional>
typestring <optional>
styleFunfunction <optional>
namestring <optional>
boxWidthnumber <optional>
boxNumnumber <optional>
usePlaneboolean <optional>
-
InstanceMeshLikeobject
-
InstancedMesh2 common mesh interface
Properties:
Name Type Argument Description geometryUAnalySun.types~BVHGeometry matrixWorldMatrix4 isInstancedMesh2boolean <optional>
isInstancedMeshboolean <optional>
countnumber <optional>
instanceCountnumber <optional>
getActiveAndVisibilityAtfunction <optional>
getMatrixAtfunction <optional>
worldToLocalfunction getBBoxfunction <optional>
-
SunAmountPassLikeobject
-
Properties:
Name Type Description uniformsObject -
SunIntersectTargetobject
-
Properties:
Name Type Argument Description objectUAnalySun.types~InstanceMeshLike instanceIdnumber <optional>
-
UAnalySunCOobject
-
~extends UAnaly~UAnalyCO
UAnalySun 생성자 옵션Properties:
Name Type Argument Default Description namestring <optional>
'SunAmount' 일조량 분석 클래스 이름