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 Model
make(Model model)
static Model
make(Model model, int pointSize)
-
-
-
Method Detail
-
make
public static Model make(Model model)
- Parameters:
model
-Model
to convert into a point cloud- Returns:
- a
Model
that is a point cloud version of the inputModel
- Throws:
NullPointerException
- ifmodel
isnull
-
make
public static Model make(Model model, int pointSize)
- Parameters:
model
-Model
to convert into a point cloudpointSize
- integer diameter of the rasterized points- Returns:
- a
Model
that is a point cloud version of the inputModel
- Throws:
NullPointerException
- ifmodel
isnull
IllegalArgumentException
- ifpointSize
is less than 0
-
-