Class Straight3D

java.lang.Object
org.eclipse.gef.geometry.projective.Straight3D

public final class Straight3D extends Object
A two-dimensional infinite line that is defined by three coordinates of which the third is a so called homogeneous coordinate. Calculations are easier to do on such lines:
  • the point of intersection between two lines is the cross product of their respective three dimensional vectors
  • the distance from a point to the line is the scalar product of both three dimensional vectors

This is the complement to the Vector3D which represents a Point with a third, homogeneous coordinate.