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 voiddispose()Releases all resources that the object occupies.booleanfromXML(java.lang.String xml)Gets the flying stops through XML stringdoublegetAngularSpeed()Gets the angle speed flying around a stopCameragetCamera()Gets the stop cameradoublegetDuration()Gets the interval between stopsjava.lang.StringgetName()Gets the stop namedoublegetRotationDuration()Gets the flying time around a stopdoublegetSpeed()Gets the stop speedGeoStyle3DgetStyle()Gets the stop styledoublegetTurnTime()Gets the time that a stop turning around spendsdoublegetWaitTime()Gets the waiting time of stopbooleanisExcluded()Whether a stop is exclusivebooleanisSlowTurning()Whether to turn in a slow speed in a stopvoidsetAngularSpeed(double value)Sets the angle speed flying around a stopvoidsetCamera(Camera camera)Gets the stop cameravoidsetDuration(double duration)Sets the interval between stopsvoidsetExcluded(boolean value)Sets whether a stop is exclusivevoidsetName(java.lang.String value)Sets the stop namevoidsetSlowTurning(boolean value)Sets whether to turn in a slow speed in a stopvoidsetSpeed(double value)Sets the stop speedvoidsetStyle(GeoStyle3D style)Sets the stop stylevoidsetTurnTime(double value)Sets the time that a stop turning around spendsvoidsetWaitTime(double time)Sets the waiting time of stopjava.lang.StringtoXML()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.
-
-