from_geometry method

from_geometry

Create a new PointCloud instance from a geometry object

Returns

def from_geometry(self, g):
    ...
ParameterTypeDescription
gGeometry

from_geometry

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)

Returns

def from_geometry(self, g, density):
    ...
ParameterTypeDescription
gGeometryMesh or other geometry instance
densityintNumber of points per unit triangle

See Also