|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.chemistry.gui.extended.geometry.Line
public class Line
A class that defines geometric straight line in 3D space
| Constructor Summary | |
|---|---|
Line()
Default constructor |
|
Line(Point3D pointA,
Point3D pointB)
Full constructor |
|
| Method Summary | |
|---|---|
double |
distanceTo(Point3D pointX)
Return the distance from a given point to the line |
GeoVector3D |
vectorTo(Point3D pointX)
Return the geometric vector from some point on the line to the given point so that the vector is perpendicular to the line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Line()
public Line(Point3D pointA,
Point3D pointB)
pointA - a point on the linepointB - the other point on the line| Method Detail |
|---|
public GeoVector3D vectorTo(Point3D pointX)
pointX - the give point
public double distanceTo(Point3D pointX)
pointX - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||