public class PointSetUtility extends Object
| Constructor and Description |
|---|
PointSetUtility() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public static SceneGraphComponent displayVertexNormals(PointSet ps, double scale, int metric)
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.ifs - scale - metric -