CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiShapeFaceInfo

    Level-1 shape descriptor of a single face: scale-dependent form characteristics (area, bounds, curvature radius range). Produced by ICamApiShapeAnalyzer.BuildFaceInfo

    Namespace: CAMAPI.SurfaceTypes
    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
    double Area { get; }
    Property Value
    Type Description
    double

    BoxMax

    Maximum corner of the face bounding box in model space

    Declaration
    TST3DPoint BoxMax { get; }
    Property Value
    Type Description
    TST3DPoint

    BoxMin

    Minimum corner of the face bounding box in model space

    Declaration
    TST3DPoint BoxMin { get; }
    Property Value
    Type Description
    TST3DPoint

    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
    Type Description
    double

    LoopCount

    Number of boundary loops of the face (1 = simple face, 2 and more = face with holes)

    Declaration
    int LoopCount { get; }
    Property Value
    Type Description
    int

    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
    Type Description
    double

    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
    Type Description
    double

    SurfaceKind

    Classified analytic kind of the underlying surface

    Declaration
    TCamApiSurfaceKind SurfaceKind { get; }
    Property Value
    Type Description
    TCamApiSurfaceKind

    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
    Type Description
    int

    VectorSize

    Number of values in the feature vector

    Declaration
    int VectorSize { get; }
    Property Value
    Type Description
    int

    VectorValue[int]

    Declaration
    double VectorValue[int i] { get; }
    Parameters
    Type Name Description
    int i
    Property Value
    Type Description
    double

    Methods

    GetNormalizedInertia(out TST3DPoint)

    Declaration
    void GetNormalizedInertia(out TST3DPoint Moments)
    Parameters
    Type Name Description
    TST3DPoint Moments
    In this article