com.supermap.realspace
Class RouteStop
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.RouteStop
-
public class RouteStop extends InternalHandleDisposable
Flying route stop class which is used for flying stops
-
-
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 stringdouble
getAngularSpeed()
Gets the angle speed flying around a stopCamera
getCamera()
Gets the stop cameradouble
getDuration()
Gets the interval between stopsjava.lang.String
getName()
Gets the stop namedouble
getRotationDuration()
Gets the flying time around a stopdouble
getSpeed()
Gets the stop speedGeoStyle3D
getStyle()
Gets the stop styledouble
getTurnTime()
Gets the time that a stop turning around spendsdouble
getWaitTime()
Gets the waiting time of stopboolean
isExcluded()
Whether a stop is exclusiveboolean
isSlowTurning()
Whether to turn in a slow speed in a stopvoid
setAngularSpeed(double value)
Sets the angle speed flying around a stopvoid
setCamera(Camera camera)
Gets the stop cameravoid
setDuration(double duration)
Sets the interval between stopsvoid
setExcluded(boolean value)
Sets whether a stop is exclusivevoid
setName(java.lang.String value)
Sets the stop namevoid
setSlowTurning(boolean value)
Sets whether to turn in a slow speed in a stopvoid
setSpeed(double value)
Sets the stop speedvoid
setStyle(GeoStyle3D style)
Sets the stop stylevoid
setTurnTime(double value)
Sets the time that a stop turning around spendsvoid
setWaitTime(double time)
Sets the waiting time of stopjava.lang.String
toXML()
Outputs stops as xml string
-
-
-
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.
-
-