Class PointCloud

    • Method Detail

      • make

        public static Model make​(Model model,
                                 int pointSize)
        A static factory method that converts a given Model into a Model made up of only Point primitives.
        Parameters:
        model - Model to convert into a point cloud
        pointSize - integer diameter of the rasterized points
        Returns:
        a Model that is a point cloud version of the input Model
        Throws:
        NullPointerException - if model is null
        IllegalArgumentException - if pointSize is less than 0