PPL Logo

libs/ck-libs/datatransfer/volume_planes.h File Reference

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).


Function Documentation

double computeVolumePlanes ( const double *  planes,
int  nPlanes 
)

Compute the volume bounded by this set of halfspaces (hyperplanes).

Parameters:
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().

Here is the caller graph for this function:


Generated on Mon Sep 21 08:07:05 2020 for Charm++ by  doxygen 1.5.5