Documentation of 'georegression.metric.Distance2D_I32' Java class
Distance2D_I32
georegression.metric

Class Distance2D_I32



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

      Constructors 
      Constructor and Description
      Distance2D_I32() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double distance(LineSegment2D_I32 line, Point2D_I32 p)
      Returns the distance the closest point on a line segment is from the specified point.
      • Methods inherited from class java.lang.Object

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

      • Distance2D_I32

        public Distance2D_I32()
    • Method Detail

      • distance

        public static double distance(LineSegment2D_I32 line,
                                      Point2D_I32 p)

        Returns the distance the closest point on a line segment is from the specified point. The closest point is bounded to be along the line segment.

        Parameters:
        line - A line segment. Not modified.
        p - The point. Not modified.
        Returns:
        Distance the closest point on the line is away from the point.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.