(Solved)get Min scalar field error
Posted: Wed Nov 21, 2018 3:02 pm
Hi,
I want to get Min and Max of scalar field by simply using getCurrentInScalarField()->getMin(), but I got the access violation error. I don't know why? Please help me!
The codes:
ccPointCloud* compCloud = new ccPointCloud;
results->clone(compCloud);
ScalarType minVal_0 = compCloud->getCurrentInScalarField()->getMin();
ScalarType maxVal_0 = compCloud->getCurrentInScalarField()->getMax();
The error:
Thanks
I want to get Min and Max of scalar field by simply using getCurrentInScalarField()->getMin(), but I got the access violation error. I don't know why? Please help me!
The codes:
ccPointCloud* compCloud = new ccPointCloud;
results->clone(compCloud);
ScalarType minVal_0 = compCloud->getCurrentInScalarField()->getMin();
ScalarType maxVal_0 = compCloud->getCurrentInScalarField()->getMax();
The error:
Thanks