com.supermap.realspace

Class RouteStop

    • Constructor Summary

      Constructors 
      Constructor and Description
      RouteStop()
      Constructs a new RouteStop object.
      RouteStop(RouteStop routeStop)
      Constructs a new object identical to the given RouteStop object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dispose()
      Releases all resources that the object occupies.
      boolean fromXML(java.lang.String xml)
      Gets the flying stops through XML string
      double getAngularSpeed()
      Gets the angle speed flying around a stop
      Camera getCamera()
      Gets the stop camera
      double getDuration()
      Gets the interval between stops
      java.lang.String getName()
      Gets the stop name
      double getRotationDuration()
      Gets the flying time around a stop
      double getSpeed()
      Gets the stop speed
      GeoStyle3D getStyle()
      Gets the stop style
      double getTurnTime()
      Gets the time that a stop turning around spends
      double getWaitTime()
      Gets the waiting time of stop
      boolean isExcluded()
      Whether a stop is exclusive
      boolean isSlowTurning()
      Whether to turn in a slow speed in a stop
      void setAngularSpeed(double value)
      Sets the angle speed flying around a stop
      void setCamera(Camera camera)
      Gets the stop camera
      void setDuration(double duration)
      Sets the interval between stops
      void setExcluded(boolean value)
      Sets whether a stop is exclusive
      void setName(java.lang.String value)
      Sets the stop name
      void setSlowTurning(boolean value)
      Sets whether to turn in a slow speed in a stop
      void setSpeed(double value)
      Sets the stop speed
      void setStyle(GeoStyle3D style)
      Sets the stop style
      void setTurnTime(double value)
      Sets the time that a stop turning around spends
      void setWaitTime(double time)
      Sets the waiting time of stop
      java.lang.String toXML()
      Outputs stops as xml string
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RouteStop

        public RouteStop()
        Constructs a new RouteStop object.
      • RouteStop

        public RouteStop(RouteStop routeStop)
        Constructs a new object identical to the given RouteStop object.
        Parameters:
        routeStop - the given RouteStop object.
    • Method Detail

      • getCamera

        public Camera getCamera()
        Gets the stop camera
        Returns:
        the stop camera.
      • setCamera

        public void setCamera(Camera camera)
        Gets the stop camera
        Parameters:
        camera - the specified camera
      • getStyle

        public GeoStyle3D getStyle()
        Gets the stop style
        Returns:
        the style of the stop camera
      • setStyle

        public void setStyle(GeoStyle3D style)
        Sets the stop style
        Parameters:
        style - The style of the specified stop.
      • getDuration

        public double getDuration()
        Gets the interval between stops
        Returns:
        the interval between stop cameras
      • setDuration

        public void setDuration(double duration)
        Sets the interval between stops
        Parameters:
        duration - the specified interval between stops
      • getRotationDuration

        public double getRotationDuration()
        Gets the flying time around a stop
        Returns:
        the flying time around a stop
      • getWaitTime

        public double getWaitTime()
        Gets the waiting time of stop
        Returns:
        the waiting time of stop
      • setWaitTime

        public void setWaitTime(double time)
        Sets the waiting time of stop
        Parameters:
        time - the waiting time of the specified stop
      • isExcluded

        public boolean isExcluded()
        Whether a stop is exclusive
        Returns:
        stop Whether a stop is exclusive. A boolean value. True means yes
      • setExcluded

        public void setExcluded(boolean value)
        Sets whether a stop is exclusive
        Parameters:
        value - A boolean value indicating whether a stop is exclusive.
      • getName

        public java.lang.String getName()
        Gets the stop name
        Returns:
        stop name
      • setName

        public void setName(java.lang.String value)
        Sets the stop name
        Parameters:
        value - the name of the specified stop.
      • getSpeed

        public double getSpeed()
        Gets the stop speed
        Returns:
        the speed of the stop camera
      • setSpeed

        public void setSpeed(double value)
        Sets the stop speed
        Parameters:
        value - the speed of the specified stop.
      • getTurnTime

        public double getTurnTime()
        Gets the time that a stop turning around spends
        Returns:
        the truning time of stop cameras
      • setTurnTime

        public void setTurnTime(double value)
        Sets the time that a stop turning around spends
        Parameters:
        value - the turning time of the specified stop.
      • isSlowTurning

        public boolean isSlowTurning()
        Whether to turn in a slow speed in a stop
        Returns:
        stop Whether to turn in a slow speed in a stop. A boolean value. True means yes.
      • setSlowTurning

        public void setSlowTurning(boolean value)
        Sets whether to turn in a slow speed in a stop
        Parameters:
        value - A boolean value indicating whether to turn slowly in a stop
      • getAngularSpeed

        public double getAngularSpeed()
        Gets the angle speed flying around a stop
        Returns:
        the angle speed flying around a stop
      • setAngularSpeed

        public void setAngularSpeed(double value)
        Sets the angle speed flying around a stop
        Parameters:
        value - the specified angle speed flying around a stop
      • dispose

        public void dispose()
        Releases all resources that the object occupies.
      • toXML

        public java.lang.String toXML()
        Outputs stops as xml string
        Returns:
        XML string.
      • fromXML

        public boolean fromXML(java.lang.String xml)
        Gets the flying stops through XML string
        Parameters:
        xml - XML string.
        Returns:
        true if successful; otherwise, false.