地理实体旋转参数类
Name | Type | Default | Description |
---|---|---|---|
options.startRotation |
MPoint3D | optional 起始旋转 | |
options.endRotation |
MPoint3D | optional 结束旋转 | |
options.cyclicType |
GeoEntityParamCyclicType |
GeoEntityParamCyclicType.NO
|
optional 循环类型 |
options.isGradient |
Boolean |
true
|
optional 是否渐变 |
options.time |
Number |
0.0
|
optional 起始到结束所需的变化时长(单位:秒) |
options.totalTime |
Number |
0.0
|
optional 循环执行的总时长(单位:秒) |
Methods
-
clone() → GeoEntityRotationParameter
-
克隆
Returns:
克隆对象 -
getCyclicType() → GeoEntityParamCyclicType
-
获取循环类型
Returns:
循环类型 -
getEndRotation() → MPoint3D
-
获取结束旋转角度
Returns:
结束旋转角度 -
getStartRotation() → MPoint3D
-
获取开始旋转角度
Returns:
开始旋转角度 -
获取变化时长(单位:秒)
Returns:
时长 -
获取总时长(单位:秒),循环模式GeoEntityParamCyclicType为ONEWAY或BOTHWAY时生效
Returns:
总时长 -
Returns:
UUID -
获取是否渐变
Returns:
是否渐变 -
设置循环类型
Name Type Description cyclicType
GeoEntityParamCyclicType 循环类型 -
设置结束旋转角度
Name Type Description endRotation
MPoint3D 结束旋转角度 -
设置是否渐变
Name Type Description isGradient
Boolean 是否渐变 -
设置开始旋转角度
Name Type Description startRotation
MPoint3D 开始旋转角度 -
设置变换时长(单位:秒)
Name Type Description time
double 时长 -
设置总时长(单位:秒),循环模式GeoEntityParamCyclicType为ONEWAY或BOTHWAY时生效
Name Type Description totalTime
double 总时长