getGeometricAttributes method
Gets the geometric attributes.
return Geometric attributes. throws FaceException An error has occurred during Face Library execution.
Implementation
GeometricAttributes getGeometricAttributes() {
Pointer<id3FaceGeometricAttributes> pGeometricAttributes = calloc();
var err = faceSDK.id3FacePortrait_GetGeometricAttributes(_pHandle.value, pGeometricAttributes);
if (err != FaceError.success.value) {
calloc.free(pGeometricAttributes);
throw FaceException(err);
}
return GeometricAttributes(pGeometricAttributes);
}