Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 962 Bytes

sample-points-surface.rst

File metadata and controls

36 lines (25 loc) · 962 Bytes

Sample Points (Surface)

Generate points along edges or faces at regular distance.

Note

Random sampling should be coming in next VTK release (reference).

Input:edge wireframe, polygonal mesh
Output:point cloud
VTK classes:vtkPolyDataPointSampler, vtkTriangleFilter

Options

/_static/properties-sample-points-surface.png
Distance
Target spacing of the sampled points.
Sample edges
If this option is turned on, points will be sampled along edges.
Sample faces
If this option is turned on, points will be sampled on faces.

Example

/_static/example-sample-points-surface.png

Left: The default cube. Middle: Cube with Sample points (surface) and Sample edges. Right: Cube with Sample points (surface) and Sample faces.