int cvxCmFtrDelete ( int idx_ftrgrp /* I: index of the feature */ ) /* DESCRIPTION: Delete the feature. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrGetAttr ( int idx_ftrgrp, /* I: index of the feature */ int cnt, /* I: count of the attributes */ evxCmFtrAttr *attr, /* I: Attributes of interest */ svxCmAttrValue *value /* O: the values return; user needs to free the memory */ ) /* DESCRIPTION: Inquire the attribute of the feature. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrGetComp ( int *comp_cnt, /* O: count of components */ int **idxComp /* O: index of components */ ) /* DESCRIPTION: Get component's geom index. The idxComp output array must be deallocated with cvxMemFree. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrInsert ( evxCmFtrType type, /* I: type of the feature */ int idx_cmcomp, /* I: index of the component */ int cnt, /* I: count of the geometries */ int *geom, /* I: geometry indexes */ int *idx_FtrGrp /* O: index of feature */ ) /* DESCRIPTION: Add a feature in the component. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrInsertHole ( vxName ftrName, /* I: feature name */ int cnt, /* I: count of the geometries */ int *geom, /* I: geometry indexes */ double *depths, /* I: depths of holes */ int *idxFtrGrp /* O: index of feature */ ) /* DESCRIPTION: Add a hole feature in the component. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrInsertNew ( evxCmFtrType type, /* I: type of the feature */ int cnt, /* I: count of the geometries */ int *geom, /* I: geometry indexes */ double *depths, /* I: depths of holes */ int *idx_FtrGrp /* O: index of feature */ ) /* DESCRIPTION: Add a feature in the component. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrInsertSK ( evxCmFtrType type, /* I: type of the feature */ vxName ftrName, /* I: feature name which needs to be added to the new member */ int idxSk, /* I: index of the sketch where the geom is located. */ int cnt, /* I: feature data */ int *geom, /* I: index of geom */ int *idxFtrGrp /* O: index of feature */ ) /* DESCRIPTION: Add a feature in the sketch. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrInsertWithoutHoles ( evxCmFtrType type, /* I: type of the feature */ vxName ftrName, /* I: feature name which needs to be added to the new member */ int cnt, /* I: count of the geometries */ int *geom, /* I: geometry indexes */ int *idxFtrGrp /* O: index of feature */ ) /* DESCRIPTION: Add a feature in the component. This function provideds the ability to generate features other than holes. Currently, profile,surface,chamfer and cround are supported. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmFtrSetAttr ( int idx_ftrgrp, /* I: index of the feature */ int cnt, /* I: count of the attributes */ evxCmFtrAttr *attr, /* I: Attributes of interest */ svxCmAttrValue *value /* I: values to assign to the feature */ ) /* DESCRIPTION: Modify the attribute of the feature. value->type: ZW_CAM_ATTR_VALUE_TYPE_INTEGER value->cnt: 1 value->data: 0("part") 1("contain") Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmGetCrvId ( int *numLine, /* O: number of curve */ int **lstLines /* O: list of curve id */ ) /* DESCRIPTION: Get curves' index in part Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxCmPlanDispSetMode ( evxCmPlanDispMode iMode /* I: display mode */ ) /* DESCRIPTION: Set cam plan display mode. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________