getBallDeets.m#
This function extracts relevant data from a cell array of Ball objects, in terms of numerical arrays, so that it can be passed to MEX functions.
[ballCentres, ballRadii, nonEndpointBallCentres, nonEndpointBallRadii] = getBallDeets(BallCellArray)
Inputs#
BallCellArray, a cell array of objects in theBallclass.
Outputs#
ballCentres: array of centres of every ball inBallCellArrayballRadii: array of radii of every ball inBallCellArraynonEndpointBallCentres: array of centres of every ball inBallCellArray, excluding those in finite endpoints of original integralnonEndpointBallRadii: array of radii of every ball inBallCellArray, excluding those in finite endpoints of original integral