#include <DiskSectorBounds.h>
Public Member Functions | |
virtual Bounds * | clone () const |
DiskSectorBounds (float rmin, float rmax, float zmin, float zmax, float phiExt) | |
float | innerRadius () const |
virtual bool | inside (const Local3DPoint &p) const |
Determine if the point is inside the bounds. More... | |
virtual bool | inside (const Local3DPoint &p, const LocalError &err, float scale) const |
Determine if a point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local2DPoint &p, const LocalError &err) const |
virtual float | length () const |
float | outerRadius () const |
float | phiExtension () const |
virtual float | thickness () const |
virtual float | width () const |
Public Member Functions inherited from Bounds | |
virtual bool | inside (const Local2DPoint &p) const |
virtual bool | inside (const Local2DPoint &p, const LocalError &err, float scale=1.f) const |
Determine if a 2D point is inside the bounds, taking error into account. More... | |
virtual float | widthAtHalfLength () const |
Width at half length. Useful for e.g. pitch definition. More... | |
virtual | ~Bounds () |
Private Attributes | |
float | theOffset |
float | thePhiExt |
float | theRmax |
float | theRmin |
float | theZmax |
float | theZmin |
Definition at line 12 of file DiskSectorBounds.h.
|
inline |
Definition at line 15 of file DiskSectorBounds.h.
References std::swap(), theOffset, theRmax, theRmin, theZmax, and theZmin.
Referenced by clone().
|
inlinevirtual |
Implements Bounds.
Definition at line 34 of file DiskSectorBounds.h.
References DiskSectorBounds().
|
inline |
Definition at line 38 of file DiskSectorBounds.h.
References theRmin.
Referenced by BoundDiskSector::innerRadius().
|
virtual |
Determine if the point is inside the bounds.
Implements Bounds.
Definition at line 5 of file DiskSectorBounds.cc.
References tmp, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Determine if a point is inside the bounds, taking error into account.
Implements Bounds.
Definition at line 17 of file DiskSectorBounds.cc.
References Geom::deltaPhi(), deltaR(), f, max(), perp(), perp2(), LocalError::rotate(), mathSSE::sqrt(), tmp, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
|
inlinevirtual |
Definition at line 30 of file DiskSectorBounds.h.
References Bounds::inside().
|
inlinevirtual |
"Lenght" of the bounded volume; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 22 of file DiskSectorBounds.h.
References funct::cos(), thePhiExt, theRmax, and theRmin.
|
inline |
Definition at line 39 of file DiskSectorBounds.h.
References theRmax.
Referenced by BoundDiskSector::outerRadius().
|
inline |
Definition at line 40 of file DiskSectorBounds.h.
References thePhiExt.
Referenced by BoundDiskSector::phiExtension().
|
inlinevirtual |
"Thickness" of the bound around the surface; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 24 of file DiskSectorBounds.h.
References theZmax, and theZmin.
Referenced by CompositeTECPetal::overlap().
|
inlinevirtual |
"width" of the bounds; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 23 of file DiskSectorBounds.h.
References funct::sin(), thePhiExt, and theRmax.
Referenced by python.Vispa.Main.MainWindow.MainWindow::_saveIni(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), python.Vispa.Views.PropertyView.PropertyView::resizeEvent(), python.Vispa.Views.PropertyView.PropertyView::sectionResized(), and python.Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
|
private |
Definition at line 48 of file DiskSectorBounds.h.
Referenced by DiskSectorBounds().
|
private |
Definition at line 47 of file DiskSectorBounds.h.
Referenced by length(), phiExtension(), and width().
|
private |
Definition at line 44 of file DiskSectorBounds.h.
Referenced by DiskSectorBounds(), length(), outerRadius(), and width().
|
private |
Definition at line 43 of file DiskSectorBounds.h.
Referenced by DiskSectorBounds(), innerRadius(), and length().
|
private |
Definition at line 46 of file DiskSectorBounds.h.
Referenced by DiskSectorBounds(), and thickness().
|
private |
Definition at line 45 of file DiskSectorBounds.h.
Referenced by DiskSectorBounds(), and thickness().