Class ShapeAnalyzerHelper
Helper methods for ICamApiShapeAnalyzer — the calculator that produces
shape descriptors (numeric form characteristics of a face or a body) for shape
recognition and AI classification
Inheritance
ShapeAnalyzerHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class ShapeAnalyzerHelper
Methods
BuildBodyInfo(ComWrapper<ICamApiShapeAnalyzer>, ComWrapper<ICamApiFaceList>, double)
Compute the level-1 shape descriptor of a face set. Pass ALL faces of a solid so
closedness and edge statistics are detected correctly. Throws on error.
Declaration
public static ComWrapper<ICamApiShapeBodyInfo> BuildBodyInfo(this ComWrapper<ICamApiShapeAnalyzer> analyzerCom, ComWrapper<ICamApiFaceList> faces, double tolerance)
Parameters
Returns
BuildFaceInfo(ComWrapper<ICamApiShapeAnalyzer>, ComWrapper<ICamApiFace>, double)
Compute the level-1 shape descriptor of one face. Throws on error.
Describes the form of a single face as part of the recognition feature schema — relations
between faces (shared edges, intersections) come from the topology analyzers instead,
e.g. ICamApiEdgeAnalyzer.
Declaration
public static ComWrapper<ICamApiShapeFaceInfo> BuildFaceInfo(this ComWrapper<ICamApiShapeAnalyzer> analyzerCom, ComWrapper<ICamApiFace> face, double tolerance)
Parameters
Returns
CreateFaceList(ComWrapper<ICamApiShapeAnalyzer>)
Create an empty mutable face list builder
Declaration
public static ComWrapper<ICamApiFaceListBuilder> CreateFaceList(this ComWrapper<ICamApiShapeAnalyzer> analyzerCom)
Parameters
Returns
GetSingleton()
Resolves the ICamApiShapeAnalyzer singleton extension.
Centralises the singleton lookup so callers do not need a direct reference
to CAMAPI.TechSolvers.
Declaration
public static ComWrapper<ICamApiShapeAnalyzer> GetSingleton()
Returns