You are here: Start » FIL.NET » Function Reference » Surface » Surface Spatial Transforms » FIL.CropSurfaceByPlaneProximity
Removes from the surface points that are too distant from a given plane.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropSurfaceByPlaneProximity ( FilNet.Surface inSurface, NullableRef<FilNet.Region> inRoi, FilNet.Plane3D inPlane, float? inMinDistance, float? inMaxDistance, bool inPreserveDimensions, FilNet.Surface outSurface, FilNet.Region outRejected )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | FilNet.Surface | Input surface. | |||
inRoi | FilNet.NullableRef<FilNet.Region> | Region of interest. Default value: ftl::NIL. | |||
inPlane | FilNet.Plane3D | Plane to which distance is measured. | |||
inMinDistance | float? | Minimal distance from a given plane. Default value: ftl::NIL. | |||
inMaxDistance | float? | 1.0f | Maximal distance from a given plane. Default value: 1.0f. | ||
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | ||
outSurface | FilNet.Surface | Output surface. | |||
outRejected | FilNet.Region | Region of locations where points are too distant from the input plane. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite plane on input in CropSurfaceByPlaneProximity. |
DomainError | Region of interest exceeds an input surface in CropSurfaceByPlaneProximity. |
Function Overrides
- CropSurfaceByPlaneProximity(Surface, Plane3D, Nullable<Single>, Nullable<Single>, Boolean, Surface)
- CropSurfaceByPlaneProximity(Surface, NullableRef<Region>, Plane3D, Nullable<Single>, Nullable<Single>, Boolean, Surface)
- CropSurfaceByPlaneProximity(Surface, NullableRef<Region>, Plane3D, Nullable<Single>, Nullable<Single>, Boolean, Surface, NullableRef<Region>)