You are here: Start » AVL.NET » Invoke.SegmentSurface_PlanarCells
Computes a list of planar cells of a surface
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void SegmentSurface_PlanarCells ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, int inCellWidth, Optional<int> inCellHeight, double inFlatnessNoiseLevel, float inMinCellCoverage, List<Avl.Region> outPlanarCells, Diagnostic<List<Avl.Segment3D>> diagPlanarCellNormals, Diagnostic<List<Avl.Region>> diagCellRegions )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Avl.Surface | |||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inCellWidth | int | <2, INF> | 16 | Width of a single cell in the girds coordinate system. Default value: 16. |
![]() | inCellHeight | Atl.Optional<int> | <2, INF> | Height of a single cell in the girds coordinate system. Default value: atl::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<Avl.Region> | |||
![]() | diagPlanarCellNormals | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment3D>> | Segments representing the normals of computed cells,. | ||
![]() | diagCellRegions | Avl.Diagnostic<System.Collections.Generic.List<Avl.Region>> | Regions of all both planar and non-planar cells. |