Class PolylineBarrier

    • Constructor Summary

      Constructors 
      Constructor Description
      PolylineBarrier​(Polyline polyline)
      Creates an instance of PolylineBarrier with provided geometry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBarrierId()
      Gets the polyline barrier ID.
      Polyline getGeometry()
      Gets the shape and location of the barrier.
      java.lang.String getName()
      Gets the name of the barrier.
      double getScaleFactorForCost​(java.lang.String attributeName)
      Gets the scale factor for cost.
      BarrierType getType()
      Gets the type that was set.
      void setBarrierId​(int barrierId)
      Sets the polyline barrier ID.
      void setName​(java.lang.String name)
      Sets the name of the barrier.
      void setScaleFactorForCost​(java.lang.String attributeName, double addedCost)
      Sets the scale factor for cost.
      void setType​(BarrierType type)
      Sets the type of the barrier, whether it fully restricts travel across it, or merely increases the cost of travel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait