|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgeometry.AffineSpace
geometry.Line
A line, as a special affine subspace of n-dimensional space, defined by a point and a vector. Points on the line can be described as a multiple of this vector, thus inducing a local coordinate system on the plane.
Field Summary |
Fields inherited from class geometry.AffineSpace |
origin, space |
Constructor Summary | |
Line(Point origin,
Vector x)
Constructs a new line from a point and a vector. |
Method Summary | |
Vector |
getVector()
Returns the base vector for the local coordinates, as given while constructing the line. |
Methods inherited from class geometry.AffineSpace |
add, add, affineClosure, canBeContainedIn, canContain, canIntersect, contains, contains, copy, dim, getGenerator, getNormal, getOrigin, getRandomRay, intersection, isContainedIn, localization, localization, outerDim, print, project, toShape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Line(Point origin, Vector x)
origin
- any point in the planex
- any direction contained in the planeMethod Detail |
public Vector getVector()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |