Surface geometry
Applies local PCA to each point's neighborhood and creates attributes such as normal, curvature, roughness and planarity as per-point scalar fields.
In the app: Processing › Geometry › Surface geometry (normal, curvature, …)…
What does it do?
Local PCA is applied to each point's neighborhood (nearest k neighbors or radius r) (eigenvalues λ1 ≥ λ2 ≥ λ3), and the following fields can be created:
- Normal X / Y / Z: pointing up
- Curvature: λ3 / (λ1 + λ2 + λ3)
- Roughness: distance of the point to the plane fitted to its neighbors, excluding itself (m)
- Planarity: (λ2 − λ3) / λ1
- Linearity: (λ1 − λ2) / λ1
- Sphericity: λ3 / λ1
- Verticality: 1 − |Nz|
- Density: points/m², neighbor count / πr²
- Height above the lowest neighbor
Points with fewer than 3 neighbors have no value (gray). The fields are stored in the cloud's cache and remain on later openings; their description records the neighborhood (e.g. k = 16).
How to use it
- 1Open Processing → Geometry → Surface geometry (normal, curvature, …)… and check the clouds.
- 2Choose the neighborhood: Nearest k neighbors or Radius (r and maximum neighbors).
- 3Check the attributes to create (at least one) and click Calculate.
- 4Read the summary; change the field, scale and range in View → Color → Scalar.
Parameters
| Setting | What it does | Default |
|---|---|---|
| Clouds | Clouds to compute. | Visible clouds |
| Nearest k neighbors (k) | Number of neighbors; 4–200. | Selected, 16 |
| Radius (r) | Neighborhood radius; 0.01–1000.00 m. | 1.00 m |
| max: | Maximum neighbors within the radius (a speed limit in dense areas); 8–256. | 64 |
| Attributes | One check box per field (at least one); fields with a unit show it in the label. | Normal Z, Curvature, Roughness, Planarity, Verticality, Density |
| When finished, show the first field as color | Among the created fields, Normal Z, Roughness, Curvature, Verticality, Planarity (in that order; otherwise the first field) opens in Scalar mode. | On |
Outputs
- One scalar field per selected attribute (kept in the cache)
- Summary: field count, neighborhood, duration, number of points without a value
Tips
- Planarity and verticality help separate roofs from walls; roughness and sphericity help separate vegetation from ground.
- For a Poisson surface mesh, check all three of Normal X, Y and Z.
- On noisy data run SOR first; outliers spoil the neighborhood statistics.