Example usage for Java org.apache.commons.math3.geometry.euclidean.threed Line fields, constructors, methods, implement or subclass
The text is from its open source code.
Line(final Vector3D p1, final Vector3D p2) Build a line from two points. |
boolean | contains(final Vector3D p) Check if the instance contains a point. |
double | distance(final Vector3D p) Compute the distance between the instance and a point. |
double | distance(final Line line) Compute the shortest distance between the instance and another line. |
double | getAbscissa(final Vector3D point) Get the abscissa of a point with respect to the line. |
Vector3D | getDirection() Get the normalized direction vector. |
Vector3D | getOrigin() Get the line point closest to the origin. |
Vector3D | pointAt(final double abscissa) Get one point from the line. |
Line | revert() Get a line with reversed direction. |
Vector3D | toSpace(final Vector |
Vector1D | toSubSpace(final Vector |