You are here: Start » FIL.NET » Invoke.SegmentSurface_PlanarCells
Computes a list of planar cells of a surface
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void SegmentSurface_PlanarCells ( Fil.Surface inSurface, Optional<Fil.Region> inRoi, int inCellWidth, Optional<int> inCellHeight, double inFlatnessNoiseLevel, float inMinCellCoverage, List<Fil.Region> outPlanarCells, Diagnostic<List<Fil.Segment3D>> diagPlanarCellNormals, Diagnostic<List<Fil.Region>> diagCellRegions )
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. |
![]() | inMinCellCoverage | float | <0.0f, 1.0f> | 0.3f | Minimum percentage of valid points that a planar cell has to have. Default value: 0.3f. |
![]() | outPlanarCells | System.Collections.Generic.List<Fil.Region> | |||
![]() | diagPlanarCellNormals | Fil.Diagnostic<System.Collections.Generic.List<Fil.Segment3D>> | Segments representing the normals of computed cells,. | ||
![]() | diagCellRegions | Fil.Diagnostic<System.Collections.Generic.List<Fil.Region>> | Regions of all both planar and non-planar cells. |