QSRKnowledgeFunctions Functions

This page discusses:

CreateQsrAutoSurf

Creates an automatic surface feature from a mesh, a tolerance and an optional density.

Signature

CreateQsrAutoSurf(Mesh : CLDGeom, Tolerance : LENGTH, Density : Integer) : QSRAutoSurf

Arguments

Name Input/Output Required? Type Comment
Mesh In CLDGeom Input mesh exposed as CLDGeom.
Tolerance In LENGTH Fitting tolerance, supplied with an explicit length unit.
Density In Integer Explicit surface density. The lower-bound constant is not supplied; the feature implementation applies its own clamp.

ReturnType

QSRAutoSurf

Created QSRAutoSurf feature. The supplied creation wrappers do not define a universal failure sentinel.

Example

let Mesh(CLDGeom)
let result(QSRAutoSurf)
set result = CreateQsrAutoSurf(Mesh, 0.1mm, 100)

DetectCldAutoPrimitivesPlanes

Detects planes in cloud data and returns the created features.

Signature

DetectCldAutoPrimitivesPlanes(Cloud : CLDGeom, Deviation : LENGTH, MinNbPoints : Integer, HideInputAndShowUnused : Integer) : List

Arguments

Name Input/Output Required? Type Comment
Cloud In CLDGeom Input point cloud exposed as CLDGeom.
Deviation In LENGTH Allowed primitive-fitting deviation, supplied as a length.
MinNbPoints In Integer Minimum point count used for primitive detection.
HideInputAndShowUnused In Integer 0 disables the visibility option; any nonzero value enables it. Omitted overload: interactive default (true), according to the wrapper comments.

ReturnType

List

List of feature objects created by the detection engine. An empty list can result when no features are returned by the engine; early input validation exits without assigning the result.

Example

let Cloud(CLDGeom)
let result(List)
set result = DetectCldAutoPrimitivesPlanes(Cloud, 0.1mm, 100, 0)

DetectCldAutoPrimitivesCylinders

Detects cylinders in cloud data and returns the created features.

Signature

DetectCldAutoPrimitivesCylinders(Cloud : CLDGeom, Deviation : LENGTH, MinNbPoints : Integer, MinDiameter : LENGTH, MaxDiameter : LENGTH, HideInputAndShowUnused : Integer) : List

Arguments

Name Input/Output Required? Type Comment
Cloud In CLDGeom Input point cloud exposed as CLDGeom.
Deviation In LENGTH Allowed primitive-fitting deviation, supplied as a length.
MinNbPoints In Integer Minimum point count used for primitive detection.
MinDiameter In LENGTH Minimum cylinder diameter.
MaxDiameter In LENGTH Maximum cylinder diameter.
HideInputAndShowUnused In Integer 0 disables the visibility option; any nonzero value enables it. Omitted overload: interactive default (true), according to the wrapper comments.

ReturnType

List

List of feature objects created by the detection engine. An empty list can result when no features are returned by the engine; early input validation exits without assigning the result.

Example

let Cloud(CLDGeom)
let result(List)
set result = DetectCldAutoPrimitivesCylinders(Cloud, 0.1mm, 100, 1mm, 100mm, 0)

DetectCldAutoPrimitivesAll

Detects planes and cylinders in cloud data and returns the created features.

Signature

DetectCldAutoPrimitivesAll(Cloud : CLDGeom, Deviation : LENGTH, MinNbPoints : Integer, MinDiameter : LENGTH, MaxDiameter : LENGTH, HideInputAndShowUnused : Integer) : List

Arguments

Name Input/Output Required? Type Comment
Cloud In CLDGeom Input point cloud exposed as CLDGeom.
Deviation In LENGTH Allowed primitive-fitting deviation, supplied as a length.
MinNbPoints In Integer Minimum point count used for primitive detection.
MinDiameter In LENGTH Minimum cylinder diameter.
MaxDiameter In LENGTH Maximum cylinder diameter.
HideInputAndShowUnused In Integer 0 disables the visibility option; any nonzero value enables it. Omitted overload: interactive default (true), according to the wrapper comments.

ReturnType

List

List of feature objects created by the detection engine. An empty list can result when no features are returned by the engine; early input validation exits without assigning the result.

Example

let Cloud(CLDGeom)
let result(List)
set result = DetectCldAutoPrimitivesAll(Cloud, 0.1mm, 100, 1mm, 100mm, 0)