Interface ICamApiShapeFaceInfo
Level-1 shape descriptor of a single face: scale-dependent form characteristics
(area, bounds, curvature radius range). Produced by ICamApiShapeAnalyzer.BuildFaceInfo
Assembly: CAMAPI.SurfaceTypes.dll
Syntax
[Guid("874D5C76-2F23-4BF3-8958-3CBE57FAE76F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiShapeFaceInfo
Properties
Area
Face area computed on the tessellation at the build tolerance
Declaration
Property Value
BoxMax
Maximum corner of the face bounding box in model space
Declaration
TST3DPoint BoxMax { get; }
Property Value
BoxMin
Minimum corner of the face bounding box in model space
Declaration
TST3DPoint BoxMin { get; }
Property Value
CurvatureRatio
Level-2 (scale-invariant) descriptor: ratio of the smallest to the largest curvature
radius, 0..1. Close to 1 when the face bends alike in both directions (sphere, plane),
close to 0 when one direction is straight (cylinder, cone)
Declaration
double CurvatureRatio { get; }
Property Value
LoopCount
Number of boundary loops of the face (1 = simple face, 2 and more = face with holes)
Declaration
Property Value
MaxCurvatureRadius
Largest finite radius of curvature of the iso-parametric curves sampled over the face;
MaxFloat if no curved direction was found
Declaration
double MaxCurvatureRadius { get; }
Property Value
MinCurvatureRadius
Smallest finite radius of curvature of the iso-parametric curves sampled over the face;
MaxFloat for a planar face
Declaration
double MinCurvatureRadius { get; }
Property Value
SurfaceKind
Classified analytic kind of the underlying surface
Declaration
TCamApiSurfaceKind SurfaceKind { get; }
Property Value
VectorSchemaVersion
Schema version of the feature vector — the meaning and order of its values.
A classifier trained on one version must not consume another
Declaration
int VectorSchemaVersion { get; }
Property Value
VectorSize
Number of values in the feature vector
Declaration
Property Value
VectorValue[int]
Declaration
double VectorValue[int i] { get; }
Parameters
| Type |
Name |
Description |
| int |
i |
|
Property Value
Methods
GetNormalizedInertia(out TST3DPoint)
Declaration
void GetNormalizedInertia(out TST3DPoint Moments)
Parameters