com.supermap.realspace

类 OceanEffect



  • public class OceanEffect
    extends Object
    • 方法详细资料

      • isVisble

        public boolean isVisble()
        获取海洋是否可见
        返回:
      • setVisble

        public void setVisble(boolean isVisible)
        设置海洋是否可见
        参数:
        isVisible -
      • isReflectEnable

        public boolean isReflectEnable()
        获取海洋是否开启镜面反射
      • setReflectEnable

        public void setReflectEnable(boolean isReflectEnable)
        设置海洋是否开启镜面反射
      • getQuality

        public OceanQualityType getQuality()
        获取分析精度(包括低精度、一般精度以及高精度)
        返回:
      • setQuality

        public void setQuality(OceanQualityType qualityType)
        设置分析精度(包括低精度、一般精度以及高精度)
        参数:
        qualityType -
      • isSpryEnable

        public boolean isSpryEnable()
        获取是否开启浪花
        返回:
      • setSpryEnable

        public void setSpryEnable(boolean isSpryEnable)
        设置是否开启浪花
        参数:
        isSpryEnable -
      • getSeaLevel

        public double getSeaLevel()
        获取海平面高度
        返回:
      • setSeaLevel

        public void setSeaLevel(double seaLevel)
        设置海平面高度
        参数:
        seaLevel -
      • getWindSpeed

        public double getWindSpeed()
        获取风速
        返回:
      • setWindSpeed

        public void setWindSpeed(double windSpeed)
        设置风速
        参数:
        windSpeed -
      • getWindDirection

        public double getWindDirection()
        获取风向
        返回:
      • setWindDirection

        public void setWindDirection(double direction)
        设置风向
        参数:
        direction -
      • addRotorWash

        public boolean addRotorWash(String Name,
                                    double rotorDiameter)
        添加水面扰动特效
        参数:
        Name -
        rotorDiameter -
        返回:
      • removeRotorWash

        public boolean removeRotorWash(String Name)
        移除水面扰动特效
        参数:
        Name -
        返回:
      • updateRotorWash

        public boolean updateRotorWash(String Name,
                                       Point3D position)
        刷新水面扰动特效
        参数:
        Name -
        position -
        返回:
      • addWakeGenerator

        public boolean addWakeGenerator(String name,
                                        double beamWidth,
                                        double length)
        添加尾迹特效
        参数:
        name -
        beamWidth -
        length -
        返回:
      • removeWakeGenerator

        public boolean removeWakeGenerator(String Name)
        移除尾迹特效
        参数:
        Name -
        返回:
      • updateWakeGenerator

        public boolean updateWakeGenerator(String Name,
                                           Point3D position)
        刷新尾迹特效
        参数:
        Name -
        position -
        返回:
      • getWakeGeneratorParameters

        public WakeGeneratorParameters getWakeGeneratorParameters(String name)
        获取尾迹特效参数
        参数:
        name -
        返回:
      • setWakeGeneratorParameters

        public boolean setWakeGeneratorParameters(String name,
                                                  WakeGeneratorParameters parameters)
        设置尾迹特效参数
        参数:
        name -
        parameters -
        返回:
      • addImpact

        public boolean addImpact(String Name,
                                 double diameter,
                                 double mass)
        添加水面冲击
        参数:
        Name -
        diameter -
        mass -
        返回:
      • removeImpact

        public boolean removeImpact(String Name)
        移除水面冲击
        参数:
        Name -
        返回:
      • triggerImpact

        public boolean triggerImpact(String Name,
                                     Point3D position,
                                     double velocity)
        触发水面冲击
        参数:
        Name -
        position -
        velocity -
        返回:

Copyright © 2021–2024 SuperMap. All rights reserved.