Uses of Class
cnuphys.adaptiveSwim.geometry.Point
Packages that use Point
- 
Uses of Point in cnuphys.adaptiveSwim.geometrySubclasses of Point in cnuphys.adaptiveSwim.geometryFields in cnuphys.adaptiveSwim.geometry declared as PointMethods in cnuphys.adaptiveSwim.geometry that return PointModifier and TypeMethodDescriptionstatic PointPoint.difference(Point a, Point b) Get the difference between two pointsLine.getCenter()Get the center of the lineLine.getEndpoint(int end) Get one of the endpointsLine.getP(double t) Get a point on the lineLine.getP0()Get the po "start" point.Line.getP1()Get the p1 "end" point.Methods in cnuphys.adaptiveSwim.geometry with parameters of type PointModifier and TypeMethodDescriptionstatic PointPoint.difference(Point a, Point b) Get the difference between two pointsstatic voidPoint.difference(Point a, Point b, Point c) Get the in-place difference between two pointsdoubleGet the shortest distance between the surface of this infinite cylinder and a point.doubleGet the shortest distance between this line (as an infinite line) and a pointdoubleDistance from a point to the planedoubleCompute the distance to another pointdoubleGet the shortest distance between the surface of this sphere and a point.doubleThe dot product of this "vector" with another vectorstatic doubleThe dot product of two vectors or pointsvoidGet a point on the line (in place)doublePlane.lineIntersection(Line line, Point intersection) Compute the intersection of an infinite line with the planedoublePlane.lineIntersection(Line line, Point intersection, int lineType) booleanLine.pointOnLine(Point p) Decide whether a point is on the line using the constant TINY as the max distancebooleanLine.pointOnLine(Point p, double maxDistance) Decide whether a point is on the linedoublePlane.signedDistance(Point p) Signed distance from a point to the planeConstructors in cnuphys.adaptiveSwim.geometry with parameters of type PointModifierConstructorDescriptionCreate a line from two points on the line.Create a plane from a normal vector and a point on the planeCopy constructorCreate a sphereCreate a Vector from a point