Drake
Drake C++ Documentation
SampledVolume Struct Reference

Detailed Description

The result of a volume calculation from CalcVolumeViaSampling().

#include <drake/geometry/optimization/convex_set.h>

Public Attributes

double volume {}
 The estimated volume of the set. More...
 
double rel_accuracy {}
 An upper bound for the relative accuracy of the volume estimate. More...
 
int num_samples {}
 The number of samples used to compute the volume estimate. More...
 

Member Data Documentation

◆ num_samples

int num_samples {}

The number of samples used to compute the volume estimate.

◆ rel_accuracy

double rel_accuracy {}

An upper bound for the relative accuracy of the volume estimate.

When not evaluated, this value is NaN.

◆ volume

double volume {}

The estimated volume of the set.


The documentation for this struct was generated from the following file: