Class LineOfSegments


  • public class LineOfSegments
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LineOfSegments()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSegment​(double x1, double x2)  
      double getMean()  
      double[] solveOverlaps()  
      • Methods inherited from class java.lang.Object

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

      • LineOfSegments

        public LineOfSegments()
    • Method Detail

      • addSegment

        public void addSegment​(double x1,
                               double x2)
      • getMean

        public double getMean()
      • solveOverlaps

        public double[] solveOverlaps()