void icvGetPieceLength3D(CvPoint3D64f point1, CvPoint3D64f point2, double* dist) {
    void *fptr;

    fptr = dlsym(_Chcv_handle, "icvGetPieceLength3D_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return;
    }
    dlrunfun(fptr, NULL, icvGetPieceLength3D, point1, point2, dist);
}
