Uses of Class
edu.cnu.mdi.geometry.Point
Packages that use Point
-
Uses of Point in edu.cnu.mdi.geometry
Subclasses of Point in edu.cnu.mdi.geometryMethods in edu.cnu.mdi.geometry that return PointModifier and TypeMethodDescriptionAdds another point or vector to this point, coordinate by coordinate.Line.closestPointOnLine(Point p) Finds the point on this infinite line closest to a given point.static PointPoint.difference(Point a, Point b) Computes the coordinate-wise differencea - b.Line.getCenter()Gets the midpoint of the directed segment fromp0top1.Sphere.getCenter()Gets the center of the sphere.Line.getP(double t) Gets a point on the parametric line.Line.getP0()Gets the line's base point.Line.getP1()Gets the endpoint corresponding tot = 1.Point.scale(double scalar) Multiplies this point's coordinates by a scalar.Subtracts another point from this point.Methods in edu.cnu.mdi.geometry with parameters of type PointModifier and TypeMethodDescriptionAdds another point or vector to this point, coordinate by coordinate.Line.closestPointOnLine(Point p) Finds the point on this infinite line closest to a given point.static PointPoint.difference(Point a, Point b) Computes the coordinate-wise differencea - b.static voidPoint.difference(Point a, Point b, Point c) Computes the coordinate-wise differencea - band stores it in an existing point.doubleComputes the shortest distance from this infinite line to a point.doubleComputes the Euclidean distance from this point to another point.static doubleComputes the Euclidean distance between two points.doubleComputes the dot product of this tuple with another tuple.static doubleComputes the dot product of two tuples.voidGets a point on the parametric line and stores it in an existing point.doublePlane.interpolate(Point p1, Point p2, Point p) Creates a line through two points and computes the line-plane intersection.booleanTests whether a point is strictly inside the cylinder.doublePlane.lineIntersection(Line line, Point intersection) Computes the intersection of an infinite line with this plane.doubleLine.parameterOfClosestPoint(Point p) Computes the line parameter of the point on this infinite line closest to a given point.voidSets this point's coordinates from another point.doubleCylinder.signedDistance(Point p) Computes the signed shortest distance from a point to the cylinder surface.doubleSphere.signedDistance(Point p) Computes the signed shortest distance from a point to the sphere surface.Subtracts another point from this point.Constructors in edu.cnu.mdi.geometry with parameters of type PointModifierConstructorDescriptionCreates a line from two points.Creates a plane from a normal vector and a point on the plane.Creates a copy of another point.Creates a sphere with the given center and radius.Creates a vector from a point-like tuple. -
Uses of Point in edu.cnu.mdi.view.demo.geoslice
Methods in edu.cnu.mdi.view.demo.geoslice that return PointModifier and TypeMethodDescriptionstatic PointSliceProjection.cylindrical(double r, double phiDeg, double z) Convert cylindrical coordinates to a 3D Cartesian point.static PointSliceProjection.sliceToCartesian(Point2D.Double slicePoint, double phiDeg) Convert a 2D slice-coordinate point back into a 3D Cartesian point lying in the current constant-phi plane.Methods in edu.cnu.mdi.view.demo.geoslice with parameters of type PointModifier and TypeMethodDescriptionstatic doubleCompute the spherical azimuthal angle phi in degrees.static Point2D.DoubleSliceProjection.projectToSlice(Point p, double phiDeg) Project a 3D point in the selected constant-phi plane into 2D slice coordinates.static doubleCompute the 3D radius from the origin.static doubleCompute the spherical polar angle theta in degrees.