#include <TGeoXtru.h>
Inheritance diagram for TGeoXtru:
Definition at line 31 of file TGeoXtru.h.
TGeoXtru::TGeoXtru | ( | const TGeoXtru & | ) | [protected] |
Definition at line 146 of file TGeoXtru.cxx.
TGeoXtru::TGeoXtru | ( | ) |
TGeoXtru::TGeoXtru | ( | Int_t | nz | ) |
Definition at line 85 of file TGeoXtru.cxx.
References TObject::Error(), fIz, fNvert, fNz, fPoly, fScale, fSeg, fX, fX0, fXc, fY, fY0, fYc, fZ, fZcurrent, TGeoShape::GetName(), TGeoShape::kGeoBad, TGeoShape::kGeoXtru, and TGeoShape::SetShapeBit().
TGeoXtru::TGeoXtru | ( | Double_t * | param | ) |
Definition at line 112 of file TGeoXtru.cxx.
References fIz, fNvert, fNz, fPoly, fScale, fSeg, fX, fX0, fXc, fY, fY0, fYc, fZ, fZcurrent, TGeoShape::kGeoXtru, SetDimensions(), and TGeoShape::SetShapeBit().
TGeoXtru::~TGeoXtru | ( | ) | [virtual] |
TGeoXtru::TGeoXtru | ( | const TGeoXtru & | ) | [protected] |
TGeoXtru::TGeoXtru | ( | ) |
TGeoXtru::TGeoXtru | ( | Int_t | nz | ) |
TGeoXtru::TGeoXtru | ( | Double_t * | param | ) |
virtual TGeoXtru::~TGeoXtru | ( | ) | [virtual] |
Double_t TGeoXtru::DistToPlane | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iz, | |||
Int_t | ivert, | |||
Double_t | stepmax, | |||
Bool_t | in | |||
) | const [protected] |
Definition at line 313 of file TGeoXtru.cxx.
References TGeoShape::Big(), TGeoPolygon::Contains(), fPoly, fScale, fX0, fY0, fZ, GetPlaneNormal(), GetPlaneVertices(), IsPointInsidePlane(), TGeoShape::IsSameWithinTolerance(), norm(), safe, and xtru().
Referenced by DistFromInside(), and DistFromOutside().
Definition at line 688 of file TGeoXtru.cxx.
References fNvert, fPoly, fScale, fX, fX0, fY, fY0, fZ, TGeoPolygon::IsClockwise(), x, and y.
Referenced by ComputeNormal(), DistToPlane(), and SafetyToSector().
Definition at line 664 of file TGeoXtru.cxx.
References RootCsg::cross(), i, TMath::Sqrt(), TGeoShape::Tolerance(), and v1.
Referenced by ComputeNormal(), DistToPlane(), and SafetyToSector().
Bool_t TGeoXtru::IsPointInsidePlane | ( | Double_t * | point, | |
Double_t * | vert, | |||
Double_t * | norm | |||
) | const [protected] |
Definition at line 742 of file TGeoXtru.cxx.
References RootCsg::cross(), i, j, k, kFALSE, kTRUE, and v1.
Referenced by DistToPlane().
Definition at line 868 of file TGeoXtru.cxx.
References TMath::Abs(), TGeoShape::Big(), TGeoPolygon::Contains(), fPoly, fScale, fX0, fY0, fZ, GetPlaneNormal(), GetPlaneVertices(), TGeoShape::IsSameWithinTolerance(), TMath::Max(), TMath::Min(), norm(), safe, TGeoPolygon::Safety(), SetCurrentVertices(), SetCurrentZ(), and TMath::Sqrt().
void TGeoXtru::SetIz | ( | Int_t | iz | ) | [inline, protected] |
void TGeoXtru::SetSeg | ( | Int_t | iseg | ) | [inline, protected] |
Double_t TGeoXtru::Capacity | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 205 of file TGeoXtru.cxx.
References TGeoPolygon::Area(), fNz, fPoly, fScale, fZ, TGeoShape::IsSameWithinTolerance(), and xtru().
void TGeoXtru::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 225 of file TGeoXtru.cxx.
References TGeoShape::Big(), TObject::Error(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNvert, fNz, TGeoBBox::fOrigin, fScale, fX, fX0, fXc, fY0, fYc, fZ, TGeoShape::GetName(), i, j, TGeoShape::kGeoBad, SetCurrentVertices(), TGeoShape::SetShapeBit(), xmax, xmin, ymax, and ymin.
Referenced by DefineSection().
Reimplemented from TGeoBBox.
Definition at line 257 of file TGeoXtru.cxx.
References fIz, fSeg, GetPlaneNormal(), and GetPlaneVertices().
Reimplemented from TGeoBBox.
Definition at line 277 of file TGeoXtru.cxx.
References TMath::Abs(), TMath::BinarySearch(), TGeoPolygon::Contains(), fNz, fPoly, fScale, fX0, fY0, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TGeoShape::Tolerance(), and xtru().
Definition at line 584 of file TGeoXtru.cxx.
References TMath::Abs(), TObject::Error(), TGeoPolygon::FinishPolygon(), fNvert, fPoly, fX, fXc, fY, fYc, TGeoShape::GetName(), i, TGeoPolygon::IsIllegalCheck(), j, kFALSE, TGeoShape::kGeoBad, kTRUE, TGeoShape::SetShapeBit(), TGeoPolygon::SetXY(), and TGeoShape::Tolerance().
void TGeoXtru::DefineSection | ( | Int_t | snum, | |
Double_t | z, | |||
Double_t | x0 = 0. , |
|||
Double_t | y0 = 0. , |
|||
Double_t | scale = 1. | |||
) | [virtual] |
Definition at line 631 of file TGeoXtru.cxx.
References ComputeBBox(), fNz, fScale, fX0, fY0, fZ, TGeoShape::GetName(), InspectShape(), TGeoShape::kGeoBad, TGeoShape::TestShapeBit(), and TObject::Warning().
Referenced by SetDimensions().
Double_t TGeoXtru::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 366 of file TGeoXtru.cxx.
References TGeoShape::Big(), TMath::BinarySearch(), TGeoPolygon::Contains(), ROOT::Math::gv_detail::dist(), DistToPlane(), fNvert, fNz, fPoly, fScale, fX0, fY0, fZ, TGeoPolygon::IsConvex(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, Safety(), TGeoShape::Tolerance(), and xtru().
Double_t TGeoXtru::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 477 of file TGeoXtru.cxx.
References TGeoShape::Big(), TMath::BinarySearch(), TGeoBBox::Contains(), TGeoPolygon::Contains(), ROOT::Math::gv_detail::dist(), TGeoBBox::DistFromOutside(), DistToPlane(), E, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNvert, fNz, TGeoBBox::fOrigin, fPoly, fScale, fX0, fY0, fZ, hit, i, TGeoPolygon::IsConvex(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, Safety(), and xtru().
Reimplemented from TGeoBBox.
Definition at line 306 of file TGeoXtru.cxx.
References fNvert, fNz, and TGeoShape::ShapeDistancetoPrimitive().
Reimplemented from TGeoBBox.
Definition at line 1155 of file TGeoXtru.cxx.
References buffer, TGeoBBox::FillBuffer3D(), GetNvert(), GetNz(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().
Int_t TGeoXtru::GetNz | ( | ) | const [inline] |
Definition at line 83 of file TGeoXtru.h.
References fNz.
Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), and SetSegsAndPols().
Int_t TGeoXtru::GetNvert | ( | ) | const [inline] |
Definition at line 84 of file TGeoXtru.h.
References fNvert.
Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), and SetSegsAndPols().
Double_t* TGeoXtru::GetZ | ( | ) | const [inline] |
Definition at line 654 of file TGeoXtru.cxx.
References TObject::Error(), fNz, fZ, and TGeoShape::GetName().
virtual TGeoShape* TGeoXtru::GetMakeRuntimeShape | ( | TGeoShape * | , | |
TGeoMatrix * | ||||
) | const [inline, virtual] |
Reimplemented from TGeoBBox.
Definition at line 1111 of file TGeoXtru.cxx.
References GetNvert(), and GetNz().
Int_t TGeoXtru::GetNmeshVertices | ( | ) | const [virtual] |
void TGeoXtru::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 766 of file TGeoXtru.cxx.
References fNvert, fNz, fScale, fX, fX0, fY, fY0, fZ, TGeoShape::GetName(), and TGeoBBox::InspectShape().
Referenced by DefineSection().
TBuffer3D * TGeoXtru::MakeBuffer3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 781 of file TGeoXtru.cxx.
References GetNvert(), GetNz(), TBuffer3DTypes::kGeneric, SetPoints(), and SetSegsAndPols().
Reimplemented from TGeoBBox.
Definition at line 923 of file TGeoXtru.cxx.
References TGeoShape::Big(), TMath::BinarySearch(), fNz, fZ, i, TMath::Min(), safe, and xtru().
Referenced by DistFromInside(), and DistFromOutside().
void TGeoXtru::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 967 of file TGeoXtru.cxx.
References TObject::ClassName(), fNvert, fNz, fScale, fX, fX0, fY, fY0, fZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), i, TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
Definition at line 993 of file TGeoXtru.cxx.
References a, b, fScale, fX0, fY0, fZ, SetCurrentVertices(), and x0.
Referenced by SafetyToSector().
Definition at line 1014 of file TGeoXtru.cxx.
References fNvert, fX, fXc, fY, fYc, and i.
Referenced by ComputeBBox(), SafetyToSector(), and SetCurrentZ().
void TGeoXtru::SetDimensions | ( | Double_t * | param | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 1024 of file TGeoXtru.cxx.
References DefineSection(), TObject::Error(), fNz, fScale, fX0, fY0, fZ, TGeoShape::GetName(), i, TGeoShape::kGeoBad, and TGeoShape::SetShapeBit().
Referenced by TGeoXtru().
void TGeoXtru::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 1057 of file TGeoXtru.cxx.
References fNvert, fNz, fPoly, fScale, fX0, fXc, fY0, fYc, fZ, i, TGeoPolygon::IsClockwise(), j, and xtru().
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoXtru::SetPoints | ( | Float_t * | points | ) | const [virtual] |
void TGeoXtru::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 803 of file TGeoXtru.cxx.
References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), GetNvert(), GetNz(), i, j, and k.
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoXtru::Sizeof3D | ( | ) | const [virtual] |
Double_t TGeoXtru::DistToPlane | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iz, | |||
Int_t | ivert, | |||
Double_t | stepmax, | |||
Bool_t | in | |||
) | const [protected] |
Bool_t TGeoXtru::IsPointInsidePlane | ( | Double_t * | point, | |
Double_t * | vert, | |||
Double_t * | norm | |||
) | const [protected] |
void TGeoXtru::SetIz | ( | Int_t | iz | ) | [inline, protected] |
void TGeoXtru::SetSeg | ( | Int_t | iseg | ) | [inline, protected] |
virtual void TGeoXtru::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoXtru::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoXtru::DefineSection | ( | Int_t | snum, | |
Double_t | z, | |||
Double_t | x0 = 0. , |
|||
Double_t | y0 = 0. , |
|||
Double_t | scale = 1. | |||
) | [virtual] |
virtual Double_t TGeoXtru::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoXtru::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
virtual const TBuffer3D& TGeoXtru::GetBuffer3D | ( | Int_t | reqSections, | |
Bool_t | localFrame | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Int_t TGeoXtru::GetNz | ( | ) | const [inline] |
Int_t TGeoXtru::GetNvert | ( | ) | const [inline] |
Double_t* TGeoXtru::GetZ | ( | ) | const [inline] |
virtual TGeoShape* TGeoXtru::GetMakeRuntimeShape | ( | TGeoShape * | , | |
TGeoMatrix * | ||||
) | const [inline, virtual] |
virtual void TGeoXtru::GetMeshNumbers | ( | Int_t & | nvert, | |
Int_t & | nsegs, | |||
Int_t & | npols | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoXtru::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
virtual void TGeoXtru::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoXtru::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoXtru::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Int_t TGeoXtru::fNvert [protected] |
Definition at line 35 of file TGeoXtru.h.
Referenced by ComputeBBox(), DefinePolygon(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetNmeshVertices(), GetNvert(), GetPlaneVertices(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), SetPoints(), and TGeoXtru().
Int_t TGeoXtru::fNz [protected] |
Definition at line 36 of file TGeoXtru.h.
Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetNmeshVertices(), GetNz(), GetZ(), InspectShape(), operator=(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), and TGeoXtru().
Double_t TGeoXtru::fZcurrent [protected] |
TGeoPolygon* TGeoXtru::fPoly [protected] |
Definition at line 38 of file TGeoXtru.h.
Referenced by Capacity(), Contains(), DefinePolygon(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), operator=(), SafetyToSector(), SetPoints(), and TGeoXtru().
Double_t* TGeoXtru::fX [protected] |
Definition at line 39 of file TGeoXtru.h.
Referenced by ComputeBBox(), DefinePolygon(), GetPlaneVertices(), GetX(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fY [protected] |
Definition at line 40 of file TGeoXtru.h.
Referenced by DefinePolygon(), GetPlaneVertices(), GetY(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fXc [protected] |
Definition at line 41 of file TGeoXtru.h.
Referenced by ComputeBBox(), DefinePolygon(), operator=(), SetCurrentVertices(), SetPoints(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fYc [protected] |
Definition at line 42 of file TGeoXtru.h.
Referenced by ComputeBBox(), DefinePolygon(), operator=(), SetCurrentVertices(), SetPoints(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fZ [protected] |
Definition at line 43 of file TGeoXtru.h.
Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetZ(), InspectShape(), operator=(), Safety(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), Z(), and ~TGeoXtru().
Double_t* TGeoXtru::fScale [protected] |
Definition at line 44 of file TGeoXtru.h.
Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetScale(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fX0 [protected] |
Definition at line 45 of file TGeoXtru.h.
Referenced by ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetXOffset(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().
Double_t* TGeoXtru::fY0 [protected] |
Definition at line 46 of file TGeoXtru.h.
Referenced by ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetYOffset(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().
Int_t TGeoXtru::fSeg [protected] |
Definition at line 47 of file TGeoXtru.h.
Referenced by ComputeNormal(), operator=(), SetSeg(), and TGeoXtru().
Int_t TGeoXtru::fIz [protected] |
Definition at line 48 of file TGeoXtru.h.
Referenced by ComputeNormal(), operator=(), SetIz(), and TGeoXtru().
TGeoPolygon* TGeoXtru::fPoly [protected] |
Definition at line 38 of file TGeoXtru.h.
Double_t* TGeoXtru::fX [protected] |
Definition at line 39 of file TGeoXtru.h.
Double_t* TGeoXtru::fY [protected] |
Definition at line 40 of file TGeoXtru.h.
Double_t* TGeoXtru::fXc [protected] |
Definition at line 41 of file TGeoXtru.h.
Double_t* TGeoXtru::fYc [protected] |
Definition at line 42 of file TGeoXtru.h.
Double_t* TGeoXtru::fZ [protected] |
Definition at line 43 of file TGeoXtru.h.
Double_t* TGeoXtru::fScale [protected] |
Definition at line 44 of file TGeoXtru.h.
Double_t* TGeoXtru::fX0 [protected] |
Definition at line 45 of file TGeoXtru.h.
Double_t* TGeoXtru::fY0 [protected] |
Definition at line 46 of file TGeoXtru.h.