Uses of Class
cnuphys.adaptiveSwim.geometry.Point
Packages that use Point
-
Uses of Point in cnuphys.adaptiveSwim.geometry
Subclasses of Point in cnuphys.adaptiveSwim.geometryFields in cnuphys.adaptiveSwim.geometry declared as PointMethods in cnuphys.adaptiveSwim.geometry that return PointModifier and TypeMethodDescriptionstatic Point
Point.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 Point
Point.difference
(Point a, Point b) Get the difference between two pointsstatic void
Point.difference
(Point a, Point b, Point c) Get the in-place difference between two pointsdouble
Get the shortest distance between the surface of this infinite cylinder and a point.double
Get the shortest distance between this line (as an infinite line) and a pointdouble
Distance from a point to the planedouble
Compute the distance to another pointdouble
Get the shortest distance between the surface of this sphere and a point.double
The dot product of this "vector" with another vectorstatic double
The dot product of two vectors or pointsvoid
Get a point on the line (in place)double
Plane.lineIntersection
(Line line, Point intersection) Compute the intersection of an infinite line with the planedouble
Plane.lineIntersection
(Line line, Point intersection, int lineType) boolean
Line.pointOnLine
(Point p) Decide whether a point is on the line using the constant TINY as the max distanceboolean
Line.pointOnLine
(Point p, double maxDistance) Decide whether a point is on the linedouble
Plane.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