us.ihmc.utilities.math.geometry
Class LineSegment3d

java.lang.Object
  extended by us.ihmc.utilities.math.geometry.LineSegment3d

public class LineSegment3d
extends java.lang.Object


Constructor Summary
LineSegment3d(javax.vecmath.Point3d pointA, javax.vecmath.Point3d pointB)
           
 
Method Summary
 double distanceToAPoint(javax.vecmath.Point3d pointC)
           
 OneDimensionalBounds[] getOuterBounds()
           
 double length()
           
 void packPoints(double[] aVals, double[] bVals)
           
 javax.vecmath.Point3d projection(javax.vecmath.Point3d pointC)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineSegment3d

public LineSegment3d(javax.vecmath.Point3d pointA,
                     javax.vecmath.Point3d pointB)
Method Detail

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)