Class ShapeFaceInfoHelper
Inheritance
ShapeFaceInfoHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class ShapeFaceInfoHelper
Methods
Area(ComWrapper<ICamIpcShapeFaceInfo>)
Face area computed on the tessellation at the build tolerance
Declaration
public static double Area(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
BoxMax(ComWrapper<ICamIpcShapeFaceInfo>)
Maximum corner of the face bounding box in model space
Declaration
public static TST3DPoint BoxMax(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
BoxMin(ComWrapper<ICamIpcShapeFaceInfo>)
Minimum corner of the face bounding box in model space
Declaration
public static TST3DPoint BoxMin(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
CurvatureRatio(ComWrapper<ICamIpcShapeFaceInfo>)
Level-2 (scale-invariant) descriptor: ratio of the smallest to the largest curvature
radius, 0..1
Declaration
public static double CurvatureRatio(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
GetNormalizedInertia(ComWrapper<ICamIpcShapeFaceInfo>)
Level-2 (scale-invariant) descriptor: principal moments of the face area divided by
the largest of them, in ascending order
Declaration
public static TST3DPoint GetNormalizedInertia(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
GetVector(ComWrapper<ICamIpcShapeFaceInfo>)
The level-2 descriptor packed for shape recognition. Every value is dimensionless,
so the vector does not change with the size of the part
Declaration
public static double[] GetVector(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
LoopCount(ComWrapper<ICamIpcShapeFaceInfo>)
Number of boundary loops of the face (1 = simple face, 2 and more = face with holes)
Declaration
public static int LoopCount(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
MaxCurvatureRadius(ComWrapper<ICamIpcShapeFaceInfo>)
Largest finite radius of curvature of the iso-parametric curves sampled over the face;
MaxFloat if no curved direction was found
Declaration
public static double MaxCurvatureRadius(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
MinCurvatureRadius(ComWrapper<ICamIpcShapeFaceInfo>)
Smallest finite radius of curvature of the iso-parametric curves sampled over the face;
MaxFloat for a planar face
Declaration
public static double MinCurvatureRadius(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
SurfaceKind(ComWrapper<ICamIpcShapeFaceInfo>)
Classified analytic kind of the underlying surface
Declaration
public static TCamIpcSurfaceKind SurfaceKind(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns
VectorSchemaVersion(ComWrapper<ICamIpcShapeFaceInfo>)
Schema version of the feature vector — a classifier trained on one version must not
consume another
Declaration
public static int VectorSchemaVersion(this ComWrapper<ICamIpcShapeFaceInfo> infoCom)
Parameters
Returns