|
G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
|
#include <TGeoOCCTSolidBridge.hh>
Classes | |
| struct | BoundsCm |
| struct | DisplayMeshCm |
| struct | DisplayTriangleCm |
| class | Impl |
Public Types | |
| enum class | PointClassification { kInside , kSurface , kOutside } |
Public Member Functions | |
| TGeoOCCTSolidBridge (const TopoDS_Shape &shape) | |
| ~TGeoOCCTSolidBridge () | |
| TGeoOCCTSolidBridge (const TGeoOCCTSolidBridge &)=delete | |
| TGeoOCCTSolidBridge & | operator= (const TGeoOCCTSolidBridge &)=delete |
| const TopoDS_Shape & | Shape () const |
| void | SetShape (const TopoDS_Shape &shape) |
| BoundsCm | Bounds () const |
| std::shared_ptr< const DisplayMeshCm > | DisplayMesh () const |
| std::uint64_t | ShapeGeneration () const |
| double | CapacityCm3 () const |
| double | SafetyCm (const double *point_cm, bool inside) const |
| double | DistFromOutsideCm (const double *point_cm, const double *dir, double *safe_cm=nullptr) const |
| double | DistFromInsideCm (const double *point_cm, const double *dir, double *safe_cm=nullptr, bool calcNorm=false, double *norm=nullptr, bool *validNorm=nullptr) const |
| PointClassification | ClassifyCm (const double *point_cm) const |
| void | SurfaceNormalCm (const double *point_cm, double *norm) const |
Static Public Member Functions | |
| static double | InfinityCm () |
| static std::unique_ptr< TGeoOCCTSolidBridge > | FromSTEP (const std::string &name, const std::string &path) |
Definition at line 20 of file TGeoOCCTSolidBridge.hh.
|
strong |
| Enumerator | |
|---|---|
| kInside | |
| kSurface | |
| kOutside | |
Definition at line 22 of file TGeoOCCTSolidBridge.hh.
|
explicit |
Definition at line 119 of file TGeoOCCTSolidBridge.cc.
|
default |
|
delete |
| TGeoOCCTSolidBridge::BoundsCm g4occt::detail::TGeoOCCTSolidBridge::Bounds | ( | ) | const |
Definition at line 153 of file TGeoOCCTSolidBridge.cc.
References g4occt::detail::TGeoOCCTSolidBridge::BoundsCm::dx.
| double g4occt::detail::TGeoOCCTSolidBridge::CapacityCm3 | ( | ) | const |
Definition at line 205 of file TGeoOCCTSolidBridge.cc.
| TGeoOCCTSolidBridge::PointClassification g4occt::detail::TGeoOCCTSolidBridge::ClassifyCm | ( | const double * | point_cm | ) | const |
Definition at line 253 of file TGeoOCCTSolidBridge.cc.
References caches.
| std::shared_ptr< const TGeoOCCTSolidBridge::DisplayMeshCm > g4occt::detail::TGeoOCCTSolidBridge::DisplayMesh | ( | ) | const |
Definition at line 165 of file TGeoOCCTSolidBridge.cc.
References g4occt::detail::TGeoOCCTSolidBridge::DisplayTriangleCm::p1, and g4occt::detail::TGeoOCCTSolidBridge::DisplayMeshCm::triangles.
| double g4occt::detail::TGeoOCCTSolidBridge::DistFromInsideCm | ( | const double * | point_cm, |
| const double * | dir, | ||
| double * | safe_cm = nullptr, |
||
| bool | calcNorm = false, |
||
| double * | norm = nullptr, |
||
| bool * | validNorm = nullptr |
||
| ) | const |
Definition at line 229 of file TGeoOCCTSolidBridge.cc.
References caches.
| double g4occt::detail::TGeoOCCTSolidBridge::DistFromOutsideCm | ( | const double * | point_cm, |
| const double * | dir, | ||
| double * | safe_cm = nullptr |
||
| ) | const |
Definition at line 217 of file TGeoOCCTSolidBridge.cc.
References caches.
|
static |
Definition at line 124 of file TGeoOCCTSolidBridge.cc.
Referenced by TGeoOCCTSolid::FromSTEP().
|
static |
Definition at line 117 of file TGeoOCCTSolidBridge.cc.
References g4occt::detail::G4OCCTSolidKernel::Infinity().
Referenced by TGeoOCCTSolid::DistFromInside(), and TGeoOCCTSolid::DistFromOutside().
|
delete |
| double g4occt::detail::TGeoOCCTSolidBridge::SafetyCm | ( | const double * | point_cm, |
| bool | inside | ||
| ) | const |
Definition at line 209 of file TGeoOCCTSolidBridge.cc.
References caches.
| void g4occt::detail::TGeoOCCTSolidBridge::SetShape | ( | const TopoDS_Shape & | shape | ) |
Definition at line 151 of file TGeoOCCTSolidBridge.cc.
| const TopoDS_Shape & g4occt::detail::TGeoOCCTSolidBridge::Shape | ( | ) | const |
Definition at line 149 of file TGeoOCCTSolidBridge.cc.
| std::uint64_t g4occt::detail::TGeoOCCTSolidBridge::ShapeGeneration | ( | ) | const |
Definition at line 201 of file TGeoOCCTSolidBridge.cc.
| void g4occt::detail::TGeoOCCTSolidBridge::SurfaceNormalCm | ( | const double * | point_cm, |
| double * | norm | ||
| ) | const |
Definition at line 259 of file TGeoOCCTSolidBridge.cc.