Project
Loading...
Searching...
No Matches
o2::cad::OverlapPair Struct Reference

One pair of placed solids, and everything measured about it. More...

#include <O2OverlapCheck.h>

Public Attributes

std::string nameA
 
std::string nameB
 
OverlapVerdict verdict = OverlapVerdict::Disjoint
 
double depthCm = 0.
 
std::array< double, 3 > deepestPoint {{0., 0., 0.}}
 in the master frame
 
std::string deepestPointFrom
 which solid's boundary the deepest point came from
 
int pointsAInsideB = 0
 sampled points of A found inside B at any depth
 
int pointsBInsideA = 0
 
int deepPointsAInsideB = 0
 ... of which deeper than depthTolerance
 
int deepPointsBInsideA = 0
 
int sampledA = 0
 accepted (on-boundary) sample counts actually used
 
int sampledB = 0
 
double separationCm = -1.
 Smallest sampled distance from a boundary point of one solid to the other, in cm; meaningful only when Disjoint.
 
double sharedVolumeCm3 = -1.
 Monte-Carlo estimate; < 0 when not measured.
 
double sharedVolumeErrCm3 = 0.
 its 1-sigma statistical error
 
int sharedVolumeHits = 0
 

Detailed Description

One pair of placed solids, and everything measured about it.

Definition at line 59 of file O2OverlapCheck.h.

Member Data Documentation

◆ deepestPoint

std::array<double, 3> o2::cad::OverlapPair::deepestPoint {{0., 0., 0.}}

in the master frame

Definition at line 67 of file O2OverlapCheck.h.

◆ deepestPointFrom

std::string o2::cad::OverlapPair::deepestPointFrom

which solid's boundary the deepest point came from

Definition at line 68 of file O2OverlapCheck.h.

◆ deepPointsAInsideB

int o2::cad::OverlapPair::deepPointsAInsideB = 0

... of which deeper than depthTolerance

Definition at line 72 of file O2OverlapCheck.h.

◆ deepPointsBInsideA

int o2::cad::OverlapPair::deepPointsBInsideA = 0

Definition at line 73 of file O2OverlapCheck.h.

◆ depthCm

double o2::cad::OverlapPair::depthCm = 0.

The largest depth of a sampled boundary point of one solid inside the other: the verdict's evidence. A lower bound on the penetration depth, and when positive a proof that the interiors share volume.

Definition at line 66 of file O2OverlapCheck.h.

◆ nameA

std::string o2::cad::OverlapPair::nameA

Definition at line 60 of file O2OverlapCheck.h.

◆ nameB

std::string o2::cad::OverlapPair::nameB

Definition at line 61 of file O2OverlapCheck.h.

◆ pointsAInsideB

int o2::cad::OverlapPair::pointsAInsideB = 0

sampled points of A found inside B at any depth

Definition at line 70 of file O2OverlapCheck.h.

◆ pointsBInsideA

int o2::cad::OverlapPair::pointsBInsideA = 0

Definition at line 71 of file O2OverlapCheck.h.

◆ sampledA

int o2::cad::OverlapPair::sampledA = 0

accepted (on-boundary) sample counts actually used

Definition at line 74 of file O2OverlapCheck.h.

◆ sampledB

int o2::cad::OverlapPair::sampledB = 0

Definition at line 75 of file O2OverlapCheck.h.

◆ separationCm

double o2::cad::OverlapPair::separationCm = -1.

Smallest sampled distance from a boundary point of one solid to the other, in cm; meaningful only when Disjoint.

Definition at line 78 of file O2OverlapCheck.h.

◆ sharedVolumeCm3

double o2::cad::OverlapPair::sharedVolumeCm3 = -1.

Monte-Carlo estimate; < 0 when not measured.

Definition at line 80 of file O2OverlapCheck.h.

◆ sharedVolumeErrCm3

double o2::cad::OverlapPair::sharedVolumeErrCm3 = 0.

its 1-sigma statistical error

Definition at line 81 of file O2OverlapCheck.h.

◆ sharedVolumeHits

int o2::cad::OverlapPair::sharedVolumeHits = 0

Definition at line 82 of file O2OverlapCheck.h.

◆ verdict

OverlapVerdict o2::cad::OverlapPair::verdict = OverlapVerdict::Disjoint

Definition at line 62 of file O2OverlapCheck.h.


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