Geant4
10.01.p02
|
#include <VUFacet.hh>
Public Member Functions | |
virtual | ~VUFacet () |
virtual int | GetNumberOfVertices () const =0 |
virtual UVector3 | GetVertex (int i) const =0 |
virtual void | SetVertex (int i, const UVector3 &val)=0 |
virtual UGeometryType | GetEntityType () const =0 |
virtual UVector3 | GetSurfaceNormal () const =0 |
virtual bool | IsDefined () const =0 |
virtual UVector3 | GetCircumcentre () const =0 |
virtual double | GetRadius () const =0 |
virtual VUFacet * | GetClone ()=0 |
virtual double | Distance (const UVector3 &, const double)=0 |
virtual double | Distance (const UVector3 &, const double, const bool)=0 |
virtual double | Extent (const UVector3)=0 |
virtual bool | Intersect (const UVector3 &, const UVector3 &, const bool, double &, double &, UVector3 &)=0 |
virtual double | GetArea ()=0 |
virtual UVector3 | GetPointOnFace () const =0 |
bool | operator== (const VUFacet &right) const |
void | ApplyTranslation (const UVector3 v) |
std::ostream & | StreamInfo (std::ostream &os) const |
bool | IsInside (const UVector3 &p) const |
virtual int | AllocatedMemory ()=0 |
virtual void | SetVertexIndex (const int i, const int j)=0 |
virtual int | GetVertexIndex (const int i) const =0 |
virtual void | SetVertices (std::vector< UVector3 > *vertices)=0 |
Static Protected Attributes | |
static const double | dirTolerance = 1.0E-14 |
static const double | kCarTolerance = VUSolid::Tolerance() |
Definition at line 53 of file VUFacet.hh.
|
inlinevirtual |
Definition at line 57 of file VUFacet.hh.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::AllocatedMemoryWithoutVoxels().
void VUFacet::ApplyTranslation | ( | const UVector3 | v | ) |
Definition at line 70 of file VUFacet.cc.
References n.
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
Referenced by UTessellatedSolid::DistanceToOutCandidates(), UTessellatedSolid::DistanceToOutNoVoxels(), UTessellatedSolid::InsideNoVoxels(), UTessellatedSolid::InsideVoxels(), UTessellatedSolid::MinDistanceFacet(), UTessellatedSolid::Normal(), UTessellatedSolid::SafetyFromInside(), and UTessellatedSolid::SafetyFromOutside().
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UVoxelizer::BuildVoxelLimits().
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::GetSurfaceArea().
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
Referenced by UTessellatedSolid::AddFacet(), and operator==().
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
Referenced by UTessellatedSolid::CreateVertexList(), and operator==().
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::Normal(), and operator==().
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
Referenced by UTessellatedSolid::CreateVertexList(), and operator==().
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::DistanceToInCandidates(), UTessellatedSolid::DistanceToInNoVoxels(), UTessellatedSolid::DistanceToOutCandidates(), UTessellatedSolid::DistanceToOutNoVoxels(), and UTessellatedSolid::InsideVoxels().
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::AddFacet().
bool VUFacet::IsInside | ( | const UVector3 & | p | ) | const |
Definition at line 100 of file VUFacet.cc.
References UVector3::Dot().
Referenced by UTessellatedSolid::SetExtremeFacets().
bool VUFacet::operator== | ( | const VUFacet & | right | ) | const |
Definition at line 42 of file VUFacet.cc.
References GetCircumcentre(), GetNumberOfVertices(), GetSurfaceNormal(), GetVertex(), and tolerance.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
|
pure virtual |
Implemented in UQuadrangularFacet, and UTriangularFacet.
Referenced by UTessellatedSolid::CreateVertexList().
|
pure virtual |
Implemented in UTriangularFacet, and UQuadrangularFacet.
Referenced by UTessellatedSolid::CreateVertexList().
std::ostream & VUFacet::StreamInfo | ( | std::ostream & | os | ) | const |
Definition at line 79 of file VUFacet.cc.
References n.
Referenced by UTessellatedSolid::AddFacet(), and UTessellatedSolid::StreamInfo().
|
staticprotected |
Definition at line 88 of file VUFacet.hh.
Referenced by UQuadrangularFacet::Distance(), and UTriangularFacet::Intersect().
|
staticprotected |
Definition at line 89 of file VUFacet.hh.
Referenced by UTriangularFacet::Distance(), UTriangularFacet::Intersect(), and UTriangularFacet::UTriangularFacet().