com.kuka.nav.fleet.graph.properties
Class NodeTransitOrientations

java.lang.Object
  extended by com.kuka.nav.fleet.graph.properties.AbstractProperty
      extended by com.kuka.nav.fleet.graph.properties.NodeTransitOrientations
All Implemented Interfaces:
Property, Serializable

public class NodeTransitOrientations
extends AbstractProperty

The NodeTransitOrientations property defines the allowed orientations, a node may be passed within a path.

See Also:
Serialized Form

Constructor Summary
NodeTransitOrientations()
           
 
Method Summary
 List<Double> getTransitOrientations()
          Gets the transit orientations as a list of values (in radians).
 String getTransitOrientationsStr()
          Gets the transit orientations as a string of comma separated values.
 String getValueToDisplay()
          Returns the value(s) in a way to show it in a UI.
 void setTransitOrientationsStr(List<Double> orientations)
          Sets the transit orientations by a list of values.
 void setTransitOrientationsStr(String orientations)
          Sets the transit orientations by a string of comma separated values.
 String toString()
           
 
Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty
equals, fireChanged, getAllowedTypes, getId, hashCode, setId, tryGetParamFromString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeTransitOrientations

public NodeTransitOrientations()
Method Detail

getTransitOrientationsStr

public String getTransitOrientationsStr()
Gets the transit orientations as a string of comma separated values.

Returns:
the transit orientations

getTransitOrientations

public List<Double> getTransitOrientations()
Gets the transit orientations as a list of values (in radians).

Returns:
the transit orientations

setTransitOrientationsStr

public void setTransitOrientationsStr(String orientations)
Sets the transit orientations by a string of comma separated values.

Parameters:
orientations - the new transit orientations (in degrees)

setTransitOrientationsStr

public void setTransitOrientationsStr(List<Double> orientations)
Sets the transit orientations by a list of values.

Parameters:
orientations - the new transit orientations (in radians)

toString

public String toString()
Overrides:
toString in class Object

getValueToDisplay

public String getValueToDisplay()
Description copied from interface: Property
Returns the value(s) in a way to show it in a UI.

Returns:
the values


Copyright © 2019. All rights reserved.