de.jreality.geometry
Class PointSetUtility

java.lang.Object
  extended by de.jreality.geometry.PointSetUtility

public class PointSetUtility
extends Object


Constructor Summary
PointSetUtility()
           
 
Method Summary
static SceneGraphComponent displayVertexNormals(PointSet ps, double scale, int metric)
          Generates an instance of IndexedLineSet which contains one line segment for each vertex normal of the input ps.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointSetUtility

public PointSetUtility()
Method Detail

displayVertexNormals

public static SceneGraphComponent displayVertexNormals(PointSet ps,
                                                       double scale,
                                                       int metric)
Generates an instance of IndexedLineSet which contains one line segment for each vertex normal of the input ps. This IndexedLineSet is then stuffed into a SceneGraphComponent whose appearance is set with tube drawing disabled, which is then returned. If normals are not provided in ps, an exception is thrown.

Parameters:
ifs -
scale -
metric -
Returns: