You are here: Start » FIL.NET » Invoke.SegmentSurface_Planes
Segments a surface into planes.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void SegmentSurface_Planes ( Fil.Surface inSurface, Optional<Fil.Region> inRoi, int inCellWidth, Optional<int> inCellHeight, double inFlatnessNoiseLevel, int inMaxIterations, double inMaxAngleDeviation, double inMaxDistanceDeviation, float inMinCellCoverage, int inMinPlaneArea, List<Fil.Region> outPlaneRegions, List<Fil.Plane3D> outPlanes, Diagnostic<List<Fil.Region>> diagPlanarCells )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Fil.Surface | |||
![]() | inRoi | Ftl.Optional<Fil.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inCellWidth | int | <2, INF> | 16 | Width of a single cell in the girds coordinate system. Default value: 16. |
![]() | inCellHeight | Ftl.Optional<int> | <2, INF> | Height of a single cell in the girds coordinate system. Default value: ftl::NIL. | |
![]() | inFlatnessNoiseLevel | double | <0.0, 1.0> | 0.04D | Default value: 0.04D. |
![]() | inMaxIterations | int | <1, INF> | 1000 | Default value: 1000. |
![]() | inMaxAngleDeviation | double | <0.0, 90.0> | 15.0D | Default value: 15.0D. |
![]() | inMaxDistanceDeviation | double | <0.0, INF> | 0.1D | Default value: 0.1D. |
![]() | inMinCellCoverage | float | <0.0f, 1.0f> | 0.3f | Minimum percentage of valid points that a planar cell has to have. Default value: 0.3f. |
![]() | inMinPlaneArea | int | <1, +INF> | 1 | Minimum number of pixels for a single plane. Default value: 1. |
![]() | outPlaneRegions | System.Collections.Generic.List<Fil.Region> | |||
![]() | outPlanes | System.Collections.Generic.List<Fil.Plane3D> | |||
![]() | diagPlanarCells | Fil.Diagnostic<System.Collections.Generic.List<Fil.Region>> | Computed planar cells. |