Package renderer.scene.util
Class PointCloud
- java.lang.Object
-
- renderer.scene.util.PointCloud
-
public class PointCloud extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Modelmake(Model model)static Modelmake(Model model, int pointSize)
-
-
-
Method Detail
-
make
public static Model make(Model model)
- Parameters:
model-Modelto convert into a point cloud- Returns:
- a
Modelthat is a point cloud version of the inputModel - Throws:
NullPointerException- ifmodelisnull
-
make
public static Model make(Model model, int pointSize)
- Parameters:
model-Modelto convert into a point cloudpointSize- integer diameter of the rasterized points- Returns:
- a
Modelthat is a point cloud version of the inputModel - Throws:
NullPointerException- ifmodelisnullIllegalArgumentException- ifpointSizeis less than 0
-
-