public class Draw
extends java.lang.Object
Constructor and Description |
---|
Draw() |
Modifier and Type | Method and Description |
---|---|
private static void |
computeRandomColors(int n,
java.awt.Color[] cols) |
static void |
draw2D(PointCloud N,
java.lang.String title)
Draw a point cloud in a 2D frame (using x and y coordinates)
|
static void |
draw3D(PointCloud N)
Draw a point cloud in a 3D frame (with no colors)
|
static void |
draw3D(PointCloud N,
Cluster<Jcg.geometry.Point_d> cluster)
Draw a point cloud in 3D with colors.
|
static void |
draw3D(PointCloud N,
java.awt.Color[] colors) |
static void |
draw3DNColors(PointCloud N)
Draw a point cloud in a 3D frame (with no colors)
|
public static void draw2D(PointCloud N, java.lang.String title)
N
- the input pointspublic static void draw3DNColors(PointCloud N)
N
- the input pointspublic static void draw3D(PointCloud N)
N
- the input pointspublic static void draw3D(PointCloud N, Cluster<Jcg.geometry.Point_d> cluster)
N
- the input pointscluster
- defines how points are partitioned into clusterspublic static void draw3D(PointCloud N, java.awt.Color[] colors)
private static void computeRandomColors(int n, java.awt.Color[] cols)