Uses of Class
math.Point
-
Uses of Point in math
Methods in math that return Point Modifier and Type Method Description PointLine. intersectionWithLine(Line line)static PointPoint. midPoint(Point p1, Point p2)Methods in math with parameters of type Point Modifier and Type Method Description doublePoint. calcDistanceTo(Point pt)doubleLine. distance(Point p1, Point p2)Finds the distance between 2 Point objects lying on this Line object They must lie on this Line object, else the method will return 0;doubleLine. distanceSquared(Point p1, Point p2)Finds the square of the distance between 2 Point objects lying on this Line object They must lie on this Line object, else the method will return 0;doublePoint. findXYGrad(Point pt)doublePoint. findXZGrad(Point pt)doublePoint. findYZGrad(Point pt)static SimplePointPoint. getUtilPoint(Point point)Converts objects of this class to the normal Point object.booleanPoint. isCollinearWith(Point p1, Point p2)booleanPoint. liesBetween(Point p1, Point p2)static PointPoint. midPoint(Point p1, Point p2)booleanLine. passesThroughPoint(Point p1)Constructors in math with parameters of type Point Constructor Description Line(double m, Point p)Creates a new Line object give the gradient and a point on the line.Line(Point p1, Point p2)Creates a line between points joining: the points p1 and p2Point(Point point)Creates a new Point object similar to this one but not referring to the same object