Verify a measurement feature ID
#include "dip_measurement.h"
dip_Error dip_MeasurementFeatureValid ( measurement, featureID, verdict )
This function determines whether featureID is a valid measurement feature, by verifying whether featureID equals the ID of one of the registered measurement features. If verdict is not zero, the result (DIP_TRUE or DIP_FALSE) is stored in verdict, otherwise an error is returned in case the verification fails.
Data type | Name | Description |
dip_Measurement | measurement | Measurement data structure |
dip_int | featureID | Measurement feature ID to validated |
dip_Boolean * | verdict | Pointer to the boolean verdict |
MeasurementNew, MeasurementForge, MeasurementFeatureGetSize, MeasurementFeatures, MeasurementFeatureDescription, MeasurementObjectGetSize, MeasurementObjects, MeasurementObjectValid, MeasurementObjectData, MeasurementObjectValue, MeasurementObjectFormat, MeasurementFeatureRegister
DIPlib on-line documentation | Function reference | Global function index