us.ihmc.utilities.math.geometry
Class LineSegment3d
java.lang.Object
us.ihmc.utilities.math.geometry.LineSegment3d
public class LineSegment3d
- extends java.lang.Object
Constructor Summary |
LineSegment3d(javax.vecmath.Point3d pointA,
javax.vecmath.Point3d pointB)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineSegment3d
public LineSegment3d(javax.vecmath.Point3d pointA,
javax.vecmath.Point3d pointB)
length
public double length()
distanceToAPoint
public double distanceToAPoint(javax.vecmath.Point3d pointC)
projection
public javax.vecmath.Point3d projection(javax.vecmath.Point3d pointC)
getOuterBounds
public OneDimensionalBounds[] getOuterBounds()
packPoints
public void packPoints(double[] aVals,
double[] bVals)