SurfaceToPlaneDistanceImage
Computes the image of the distances of the input surface points from a given plane.
Syntax
C++
C#
Python
def SurfaceToPlaneDistanceImage( inSurface: Surface, inPlane: Plane3D, inResolution: float, outDistanceImage: Image, /, *, inRoi: Region | None = None, inSignedDistance: bool = False ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inPlane | Plane3D | Input plane | ||
![]() |
inResolution | float | 0.0 - ![]() |
Number of real-world units per one pixel | |
![]() |
inSignedDistance | bool | False | Flag indicating whether to compute signed distance to the plane | |
![]() |
outDistanceImage | Image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.



