Go to the source code of this file.
Functions | |
double | computeVolumePlanes (const double *planes, int nPlanes) |
Compute the volume bounded by this set of halfspaces (hyperplanes). |
double computeVolumePlanes | ( | const double * | planes, | |
int | nPlanes | |||
) |
Compute the volume bounded by this set of halfspaces (hyperplanes).
planes | Values of halfplanes: array of (nPlanes) (G_d+1) rationals. We're inside the volume if, for each row A=&planes[i*4], A[0] * x + A[1] * y + A[2] * z <= A[3] | |
nPlanes | Number of halfspaces (hyperplanes). |
Referenced by test_vol_planes().