com.supermap.services

Class OptimalPathAnalysis

  • java.lang.Object
    • com.supermap.services.OptimalPathAnalysis


  • public class OptimalPathAnalysis
    extends java.lang.Object
    Description: Optimal path analysis
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static interface  OptimalPathAnalysis.FindPathListener
      Description: creates the callback function for accepting analysis results
    • Constructor Summary

      Constructors 
      Constructor and Description
      OptimalPathAnalysis()
      Description: creates the instance of optimal path analysis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void findPath(OptimalPathAnalysis.FindPathListener listener)
      Description: executes optimal path analysis
      Point2Ds getPoints()
      Description: returns passing points
      java.lang.String getUrl()
      Description: returns service address string
      void setPoints(Point2Ds points)
      Description: sets passing points for a path analysis
      void setUrl(java.lang.String url)
      Description: sets service address for a path analysis
      • Methods inherited from class java.lang.Object

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

      • OptimalPathAnalysis

        public OptimalPathAnalysis()
        Description: creates the instance of optimal path analysis
    • Method Detail

      • setPoints

        public void setPoints(Point2Ds points)
        Description: sets passing points for a path analysis
        Parameters:
        points - Point2Ds passing points saved according to moving order. (point number equals to or bigger than 2)
      • setUrl

        public void setUrl(java.lang.String url)
        Description: sets service address for a path analysis
        Parameters:
        url - String, service address for optimal path analysis
      • getPoints

        public Point2Ds getPoints()
        Description: returns passing points
        Returns:
        Point2Ds, passing points
      • getUrl

        public java.lang.String getUrl()
        Description: returns service address string
        Returns:
        String, service address string
      • findPath

        public void findPath(OptimalPathAnalysis.FindPathListener listener)
        Description: executes optimal path analysis
        Parameters:
        listener - FindPathListener the callback for accepting results