CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamIpcShapeFaceInfo

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

    Namespace: CAMIPC.SurfaceTypes
    Assembly: CAMIPC.SurfaceTypes.dll
    Syntax
    [Guid("44D4BD98-FEDA-499F-A43F-822B5185A726")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamIpcShapeFaceInfo

    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
    TCamIpcSurfaceKind SurfaceKind { get; }
    Property Value
    Type Description
    TCamIpcSurfaceKind

    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

    GetInstanceId()

    Get unique identifier of current instance (used in IPC messages)

    Declaration
    string GetInstanceId()
    Returns
    Type Description
    string

    GetNormalizedInertia(out TST3DPoint)

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