99 #ifndef G4TessellatedSolid_hh
100 #define G4TessellatedSolid_hh 1
165 G4bool aAccurate=
false)
const;
167 G4bool aAccurate=
false)
const;
170 virtual std::ostream &
StreamInfo(std::ostream &os)
const;
220 G4double DistanceToInCandidates(
const std::vector<G4int> &candidates,
223 void DistanceToOutCandidates(
const std::vector<G4int> &candidates,
228 G4int &minCandidate)
const;
232 void SetExtremeFacets();
239 void CreateVertexList();
241 void PrecalculateInsides();
243 void SetRandomVectors();
252 G4int SetAllUsingStack(
const std::vector<G4int> &voxel,
253 const std::vector<G4int> &max,
256 void DeleteObjects ();
259 static G4bool CompareSortedVoxel(
const std::pair<G4int, G4double> &l,
260 const std::pair<G4int, G4double> &
r);
272 std::vector<G4VFacet *> fFacets;
273 std::set<G4VFacet *> fExtremeFacets;
280 std::vector<G4ThreeVector> fVertexList;
282 std::set<G4VertexInfo,G4VertexComparator> fFacetList;
288 std::vector<G4ThreeVector> fRandir;
321 return ( p.
x() < fMinExtent.
x() - tolerance
322 || p.
x() > fMaxExtent.
x() + tolerance
323 || p.
y() < fMinExtent.
y() - tolerance
324 || p.
y() > fMaxExtent.
y() + tolerance
325 || p.
z() < fMinExtent.
z() - tolerance
326 || p.
z() > fMaxExtent.
z() + tolerance);