VGM Version 5.5
Loading...
Searching...
No Matches
Arb8Splitter.h File Reference
#include "VGM/common/TwoVector.h"
#include <vector>

Go to the source code of this file.

Classes

struct  Geant4GM::Arb8Split
 Parameters of two G4GenericTrap-compatible pieces obtained by cutting an Arb8 with a plane perpendicular to Z. More...

Namespaces

namespace  Geant4GM
 VGM implementation for Geant4.

Enumerations

enum class  Geant4GM::Arb8SplitResult { Geant4GM::kSuccess , Geant4GM::kNoSplitNeeded , Geant4GM::kInvalidInput , Geant4GM::kCannotSplitInTwo }

Functions

Arb8SplitResult Geant4GM::SplitArb8ForGenericTrap (double halfLength, const std::vector< VGM::TwoVector > &vertices, Arb8Split &split)
 Split an Arb8 whose corresponding end edges form angles greater than 90 degrees into two pieces accepted by G4GenericTrap.