|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simtk.geometry3d.Plane3D
public class Plane3D
Constructor Summary | |
---|---|
Plane3D()
|
Method Summary | |
---|---|
static Plane3D |
bestPlane3D(java.util.Collection<Vector3D> bagOfPoints)
Create a plane that minimizes the sum of squared distances to a set of points |
static Plane3D |
bestPlane3D(Vector3D[] coordinates,
double[] weights)
|
double |
distance(Vector3D p)
Distance between a point and a plane |
Vector3D |
getNormal()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plane3D()
Method Detail |
---|
public double distance(Vector3D p)
public Vector3D getNormal()
public static Plane3D bestPlane3D(java.util.Collection<Vector3D> bagOfPoints) throws InsufficientPointsException
bagOfPoints
-
InsufficientPointsException
public static Plane3D bestPlane3D(Vector3D[] coordinates, double[] weights) throws InsufficientPointsException
InsufficientPointsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |