Geant4
10.01.p02
|
#include <UPolyPhiFace.hh>
Public Member Functions | |
UPolyPhiFace (const UReduciblePolygon *rz, double phi, double deltaPhi, double phiOther) | |
virtual | ~UPolyPhiFace () |
UPolyPhiFace (const UPolyPhiFace &source) | |
UPolyPhiFace & | operator= (const UPolyPhiFace &source) |
bool | Distance (const UVector3 &p, const UVector3 &v, bool outgoing, double surfTolerance, double &distance, double &distFromSurface, UVector3 &normal, bool &allBehind) |
double | Safety (const UVector3 &p, bool outgoing) |
VUSolid::EnumInside | Inside (const UVector3 &p, double tolerance, double *bestDistance) |
UVector3 | Normal (const UVector3 &p, double *bestDistance) |
double | Extent (const UVector3 axis) |
UVCSGface * | Clone () |
double | SurfaceArea () |
double | SurfaceTriangle (UVector3 p1, UVector3 p2, UVector3 p3, UVector3 *p4) |
UVector3 | GetPointOnFace () |
UPolyPhiFace (__void__ &) | |
void | Diagnose (VUSolid *solid) |
Public Member Functions inherited from UVCSGface | |
UVCSGface () | |
virtual | ~UVCSGface () |
Protected Attributes | |
int | numEdges |
UPolyPhiFaceEdge * | edges |
UPolyPhiFaceVertex * | corners |
UVector3 | normal |
UVector3 | radial |
UVector3 | surface |
UVector3 | surface_point |
double | rMin |
double | rMax |
double | zMin |
double | zMax |
bool | allBehind |
double | fTolerance |
double | fSurfaceArea |
UPolyPhiFaceVertex * | triangles |
Definition at line 62 of file UPolyPhiFace.hh.
UPolyPhiFace::UPolyPhiFace | ( | const UReduciblePolygon * | rz, |
double | phi, | ||
double | deltaPhi, | ||
double | phiOther | ||
) |
Definition at line 35 of file UPolyPhiFace.cc.
References allBehind, UReduciblePolygon::Amax(), UReduciblePolygon::Amin(), UReduciblePolygonIterator::Begin(), UReduciblePolygon::Bmax(), UReduciblePolygon::Bmin(), corners, DBL_MIN, edges, fTolerance, UReduciblePolygonIterator::GetA(), UReduciblePolygonIterator::GetB(), UPolyPhiFaceEdge::length, UPolyPhiFaceVertex::next, UReduciblePolygonIterator::Next(), UPolyPhiFaceVertex::norm3D, UPolyPhiFaceEdge::norm3D, normal, numEdges, UReduciblePolygon::NumVertices(), UPolyPhiFaceVertex::prev, UPolyPhiFaceVertex::r, radial, rMax, rMin, UPolyPhiFaceVertex::rNorm, surface, VUSolid::Tolerance(), UPolyPhiFaceEdge::tr, UPolyPhiFaceEdge::tz, UVector3::Unit(), UPolyPhiFaceEdge::v0, UPolyPhiFaceEdge::v1, UPolyPhiFaceVertex::x, UVector3::x(), UPolyPhiFaceVertex::y, UVector3::y(), UPolyPhiFaceVertex::z, zMax, zMin, and UPolyPhiFaceVertex::zNorm.
|
virtual |
Definition at line 289 of file UPolyPhiFace.cc.
UPolyPhiFace::UPolyPhiFace | ( | const UPolyPhiFace & | source | ) |
Definition at line 299 of file UPolyPhiFace.cc.
References CopyStuff().
UPolyPhiFace::UPolyPhiFace | ( | __void__ & | ) |
Definition at line 279 of file UPolyPhiFace.cc.
Definition at line 967 of file UPolyPhiFace.cc.
References UVector2::x, and UVector2::y.
Referenced by Collinear(), Left(), and LeftOn().
Definition at line 1028 of file UPolyPhiFace.cc.
References Collinear(), UVector2::x, and UVector2::y.
Referenced by Intersect().
Definition at line 998 of file UPolyPhiFace.cc.
References Area2().
Referenced by Between(), and IntersectProp().
|
protected |
Definition at line 328 of file UPolyPhiFace.cc.
References allBehind, corners, edges, fSurfaceArea, fTolerance, normal, numEdges, radial, rMax, rMin, surface, triangles, UPolyPhiFaceEdge::v0, UPolyPhiFaceEdge::v1, zMax, and zMin.
Referenced by operator=(), and UPolyPhiFace().
void UPolyPhiFace::Diagnose | ( | VUSolid * | solid | ) |
Definition at line 257 of file UPolyPhiFace.cc.
References corners, VUSolid::eInside, UUtils::Exception(), VUSolid::Inside(), UPolyPhiFaceVertex::norm3D, numEdges, UFatalError, UPolyPhiFaceVertex::x, UPolyPhiFaceVertex::y, and UPolyPhiFaceVertex::z.
|
protected |
Definition at line 1143 of file UPolyPhiFace.cc.
References Diagonalie(), and InCone().
Referenced by EarInit(), and Triangulate().
|
protected |
Definition at line 1076 of file UPolyPhiFace.cc.
References Intersect(), UPolyPhiFaceVertex::next, UPolyPhiFaceVertex::r, triangles, and UPolyPhiFaceVertex::z.
Referenced by Diagonal().
|
virtual |
Implements UVCSGface.
Definition at line 381 of file UPolyPhiFace.cc.
References allBehind, UVector3::Dot(), InsideEdgesExact(), normal, radial, surface, and UVector3::z().
|
protected |
Definition at line 1152 of file UPolyPhiFace.cc.
References Diagonal(), UPolyPhiFaceVertex::ear, UPolyPhiFaceVertex::next, UPolyPhiFaceVertex::prev, and triangles.
Referenced by Triangulate().
|
inlineprotected |
|
virtual |
Implements UVCSGface.
Definition at line 599 of file UPolyPhiFace.cc.
References corners, UUtils::kInfinity, G4INCL::Math::max(), numEdges, UPolyPhiFaceVertex::r, radial, UVector3::x(), UVector3::y(), UPolyPhiFaceVertex::z, and UVector3::z().
|
virtual |
Implements UVCSGface.
Definition at line 954 of file UPolyPhiFace.cc.
References surface_point, and Triangulate().
|
protected |
Definition at line 1114 of file UPolyPhiFace.cc.
References a0, a1, Left(), LeftOn(), UPolyPhiFaceVertex::next, UPolyPhiFaceVertex::prev, UPolyPhiFaceVertex::r, and UPolyPhiFaceVertex::z.
Referenced by Diagonal().
|
virtual |
Implements UVCSGface.
Definition at line 482 of file UPolyPhiFace.cc.
References UVector3::Dot(), VUSolid::eInside, VUSolid::eOutside, VUSolid::eSurface, InsideEdges(), normal, radial, surface, UVector3::x(), UVector3::y(), and UVector3::z().
|
protected |
|
protected |
Definition at line 841 of file UPolyPhiFace.cc.
References edges, UUtils::kInfinity, UPolyPhiFaceEdge::length, UPolyPhiFaceVertex::norm3D, UPolyPhiFaceEdge::norm3D, numEdges, UPolyPhiFaceVertex::r, UPolyPhiFaceVertex::rNorm, UPolyPhiFaceEdge::tr, UPolyPhiFaceEdge::tz, UPolyPhiFaceEdge::v0, UPolyPhiFaceEdge::v1, UPolyPhiFaceVertex::z, and UPolyPhiFaceVertex::zNorm.
|
protected |
Definition at line 678 of file UPolyPhiFace.cc.
References corners, ExactZOrder(), numEdges, rMax, rMin, VUSolid::Tolerance(), UPolyPhiFaceVertex::x, UVector3::x(), UPolyPhiFaceVertex::y, UVector3::y(), UPolyPhiFaceVertex::z, UVector3::z(), zMax, and zMin.
Referenced by Distance().
Definition at line 1051 of file UPolyPhiFace.cc.
References Between(), and IntersectProp().
Referenced by Diagonalie().
Definition at line 1009 of file UPolyPhiFace.cc.
References Collinear(), and Left().
Referenced by Intersect().
Definition at line 978 of file UPolyPhiFace.cc.
References Area2().
Referenced by InCone(), and IntersectProp().
Definition at line 988 of file UPolyPhiFace.cc.
References Area2().
Referenced by InCone().
Implements UVCSGface.
Definition at line 556 of file UPolyPhiFace.cc.
References UVector3::Dot(), InsideEdges(), normal, radial, and UVector3::z().
UPolyPhiFace & UPolyPhiFace::operator= | ( | const UPolyPhiFace & | source | ) |
Definition at line 309 of file UPolyPhiFace.cc.
References CopyStuff(), corners, and edges.
|
virtual |
Implements UVCSGface.
Definition at line 438 of file UPolyPhiFace.cc.
References UVector3::Dot(), InsideEdges(), UUtils::kInfinity, normal, radial, surface, VUSolid::Tolerance(), and UVector3::z().
|
virtual |
Implements UVCSGface.
Definition at line 942 of file UPolyPhiFace.cc.
References fSurfaceArea, and Triangulate().
Definition at line 923 of file UPolyPhiFace.cc.
References p1, p2, and UUtils::Random().
Referenced by Triangulate().
|
protected |
Definition at line 1177 of file UPolyPhiFace.cc.
References corners, Diagonal(), UPolyPhiFaceVertex::ear, EarInit(), UUtils::Exception(), fSurfaceArea, n, UPolyPhiFaceVertex::next, numEdges, p1, p2, UPolyPhiFaceVertex::prev, UPolyPhiFaceVertex::r, UUtils::Random(), surface_point, SurfaceTriangle(), triangles, UFatalError, UPolyPhiFaceVertex::x, UPolyPhiFaceVertex::y, z, and UPolyPhiFaceVertex::z.
Referenced by GetPointOnFace(), and SurfaceArea().
|
protected |
Definition at line 210 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Distance(), and UPolyPhiFace().
|
protected |
Definition at line 202 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Diagnose(), Extent(), InsideEdgesExact(), operator=(), Triangulate(), UPolyPhiFace(), and ~UPolyPhiFace().
|
protected |
Definition at line 201 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), InsideEdges(), operator=(), UPolyPhiFace(), and ~UPolyPhiFace().
|
protected |
Definition at line 213 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), SurfaceArea(), and Triangulate().
|
protected |
Definition at line 212 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), and UPolyPhiFace().
|
protected |
Definition at line 203 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Distance(), Inside(), Normal(), Safety(), and UPolyPhiFace().
|
protected |
Definition at line 200 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Diagnose(), Extent(), InsideEdges(), InsideEdgesExact(), Triangulate(), and UPolyPhiFace().
|
protected |
Definition at line 204 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Distance(), Extent(), Inside(), Normal(), Safety(), and UPolyPhiFace().
|
protected |
Definition at line 208 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), InsideEdges(), InsideEdgesExact(), and UPolyPhiFace().
|
protected |
Definition at line 208 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), InsideEdgesExact(), and UPolyPhiFace().
|
protected |
Definition at line 205 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Distance(), Inside(), Safety(), and UPolyPhiFace().
|
protected |
Definition at line 206 of file UPolyPhiFace.hh.
Referenced by GetPointOnFace(), and Triangulate().
|
protected |
Definition at line 214 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), Diagonalie(), EarInit(), and Triangulate().
|
protected |
Definition at line 208 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), InsideEdges(), InsideEdgesExact(), and UPolyPhiFace().
|
protected |
Definition at line 208 of file UPolyPhiFace.hh.
Referenced by CopyStuff(), InsideEdgesExact(), and UPolyPhiFace().