You are here: Start » AVL.NET » AVL.CropSurfaceToRegion
Removes points that are not present in a given region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CropSurfaceToRegion ( AvlNet.Surface inSurface, AvlNet.Region inRegion, bool inPreserveDimensions, out AvlNet.Surface outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Input surface. | ||
![]() | inRegion | AvlNet.Region | Region from which the points are not removed. | ||
![]() | inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | |
![]() | outSurface | AvlNet.Surface | Output surface. |
Errors
Error type | Description |
---|---|
DomainError | Input region exceeds surface dimensions in CropSurfaceToRegion. |