ScanExactlyNEdges3D
Locates a specified number of the strongest changes of surface height along a given path.
Syntax
C++
C#
Python
def ScanExactlyNEdges3D( inSurface: Surface, inScanMap: ScanMap, inEdgeScanParams: EdgeScanParams3D, inEdgeCount: int, inEdgeSelection: Selection, inMinDistance: float, /, *, inMaxDistance: float | None = None, inLocalBlindness: LocalBlindness | None = None, inMaxProfileGapWidth: int | None = 1, outHeightProfile: Profile | None = None, outResponseProfile: Profile | None = None ) -> outEdges: list[SurfaceEdge1D] | None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | ||
![]() |
inScanMap | ScanMap | Data precomputed with CreateSurfaceScanMap | ||
![]() |
inEdgeScanParams | EdgeScanParams3D | Parameters controlling the surface edge extraction process | ||
![]() |
inEdgeCount | int | 0 - ![]() |
Number of surface edges to be found | |
![]() |
inEdgeSelection | Selection | Selection mode of the resulting edges | ||
![]() |
inMinDistance | float | 0.0 - ![]() |
Minimal distance between consecutive edges | |
![]() |
inMaxDistance | float | None | 0.0 - ![]() |
None | Maximal distance between consecutive edges |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | |
![]() |
inMaxProfileGapWidth | int | None | 0 - ![]() |
1 | Maximal number of consecutive not existing profile points |
![]() |
outEdges | list[SurfaceEdge1D] | None | Found surface edges | ||
![]() |
outHeightProfile | Profile | None | None | Extracted surface height profile | |
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |



