com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class PointCloud



  • public class PointCloud
    extends Geometry
    The point cloud contains no topology information but only the control points and the vertex elements.
    • Constructor Detail

      • PointCloud

        public PointCloud(java.lang.String name)
        Constructor of PointCloud
        Parameters:
        name - The name of this entity
      • PointCloud

        public PointCloud()
        Constructor of PointCloud
    • Method Detail

      • fromGeometry

        public static PointCloud fromGeometry(Geometry g)
        Create a new PointCloud instance from a geometry object
        Parameters:
        g -
      • fromGeometry

        public static PointCloud fromGeometry(Geometry g,
                                              int density)
        Create a new point cloud instance from a geometry object. Density is the number of points per unit triangle(Unit triangle are the triangle with maximum surface area from the mesh)
        Parameters:
        g - Mesh or other geometry instance
        density - Number of points per unit triangle