BRL-CAD

#include <hist.h>

Data Fields

uint32_t magic
 
fastf_t hg_min
 
fastf_t hg_max
 
fastf_t hg_clumpsize
 
size_t hg_nsamples
 
size_t hg_nbins
 
long * hg_bins
 

Detailed Description

histogram support

Definition at line 53 of file hist.h.

Field Documentation

uint32_t magic

magic # for id/check

Definition at line 54 of file hist.h.

Referenced by bu_hist_free(), and bu_hist_init().

fastf_t hg_min

minimum value

Definition at line 55 of file hist.h.

Referenced by bu_hist_init(), bu_hist_range(), hist_pr_suppress(), and rt_nugrid_cut().

fastf_t hg_max

maximum value

Definition at line 56 of file hist.h.

Referenced by bu_hist_init(), bu_hist_range(), hist_pr_suppress(), and rt_nugrid_cut().

fastf_t hg_clumpsize

(max-min+1)/nbins+1

Definition at line 57 of file hist.h.

Referenced by bu_hist_init(), bu_hist_range(), hist_pr_suppress(), and rt_nugrid_cut().

size_t hg_nsamples

total number of samples spread into histogram

Definition at line 58 of file hist.h.

Referenced by bu_hist_init(), bu_hist_range(), and hist_pr_suppress().

size_t hg_nbins

of bins in hg_bins[]

Definition at line 59 of file hist.h.

Referenced by bu_hist_free(), bu_hist_init(), bu_hist_range(), hist_pr_suppress(), and rt_nugrid_cut().

long* hg_bins

array of counters

Definition at line 60 of file hist.h.

Referenced by bu_hist_free(), bu_hist_init(), bu_hist_range(), hist_pr_suppress(), and rt_nugrid_cut().


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