You are here: Start » AVL.NET » Invoke.SegmentSurface_PlanarCells

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
inSurfaceAvl.Surface
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inCellWidthint<2, INF>16Width of a single cell in the girds coordinate system. Default value: 16.
inCellHeightAtl.Optional<int><2, INF>Height of a single cell in the girds coordinate system. Default value: atl::NIL.
inFlatnessNoiseLeveldouble<0.0, 1.0>0.04DDefault value: 0.04D.
inMinCellCoveragefloat<0.0f, 1.0f>0.3fMinimum percentage of valid points that a planar cell has to have. Default value: 0.3f.
outPlanarCellsSystem.Collections.Generic.List<Avl.Region>
diagPlanarCellNormalsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment3D>>Segments representing the normals of computed cells,.
diagCellRegionsAvl.Diagnostic<System.Collections.Generic.List<Avl.Region>>Regions of all both planar and non-planar cells.

See also