Back to Adaptive Vision Studio website
                
                    
	
		
	You are here: Start » Filter Reference » Surface Features » SurfaceFlatness
Computes the surface flatness i.e. how thick the surface is according to the input plane.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inSurface | Surface | Input surface | 
![]()  | 
				inRoi | Region* | Range of pixels to be processed | 
![]()  | 
				inPlane | Plane3D | Input plane | 
![]()  | 
				outMaximumPoint1 | Point3D | Surface point with the largest distance on one side of the plane | 
![]()  | 
				outMaximumPoint2 | Point3D | Surface point with the largest distance on the other side of the plane | 
![]()  | 
				outMaximumDistance1 | Real | Distance of the first maximum point from the input plane | 
![]()  | 
				outMaximumDistance2 | Real | Distance of the second maximum point from the input plane | 
![]()  | 
				outFlatness | Real | Difference between two extremal distances of surface points from the input plane | 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | No points available to compute surface flatness in SurfaceFlatness. | 
Complexity Level
This filter is available on Basic Complexity Level.


