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

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
inSurfaceFil.Surface
inRoiFtl.Optional<Fil.Region>Range of pixels to be processed. Default value: ftl::NIL.
inCellWidthint<2, INF>16Width of a single cell in the girds coordinate system. Default value: 16.
inCellHeightFtl.Optional<int><2, INF>Height of a single cell in the girds coordinate system. Default value: ftl::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<Fil.Region>
diagPlanarCellNormalsFil.Diagnostic<System.Collections.Generic.List<Fil.Segment3D>>Segments representing the normals of computed cells,.
diagCellRegionsFil.Diagnostic<System.Collections.Generic.List<Fil.Region>>Regions of all both planar and non-planar cells.

See also