#include <SimpleConeBounds.h>
Public Member Functions | |
Bounds * | clone () const override |
bool | inside (const Local3DPoint &p) const override |
Determine if the point is inside the bounds. More... | |
bool | inside (const Local3DPoint &p, const LocalError &err, float scale) const override |
Determine if a point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local2DPoint &p, const LocalError &err) const |
float | length () const override |
Length along Z. More... | |
Geom::Theta< float > | openingAngle () const |
SimpleConeBounds (float zmin, float rmin_zmin, float rmax_zmin, float zmax, float rmin_zmax, float rmax_zmax) | |
Construct from inner/outer radius on the two Z faces. More... | |
float | thickness () const override |
GlobalPoint | vertex () const |
float | width () const override |
Maximum diameter. More... | |
Public Member Functions inherited from Bounds | |
void | computeSpan (Surface const &plane) |
virtual bool | inside (const Local2DPoint &p) const |
virtual bool | inside (const Local2DPoint &p, float tollerance) const |
Determine if a point is inside the bounds, taking a tollerance into account. More... | |
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... | |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
virtual float | significanceInside (const Local3DPoint &, const LocalError &) const |
virtual float | widthAtHalfLength () const |
Width at half length. Useful for e.g. pitch definition. More... | |
std::pair< float, float > const & | zSpan () const |
virtual | ~Bounds () |
Private Attributes | |
float | theRmaxZmax |
float | theRmaxZmin |
float | theRminZmax |
float | theRminZmin |
float | theZmax |
float | theZmin |
Cone bounds. The cone axis coincides with the Z axis. The bounds limit the length at constant Z, and allow finite thickness.
Definition at line 23 of file SimpleConeBounds.h.
|
inline |
Construct from inner/outer radius on the two Z faces.
Definition at line 26 of file SimpleConeBounds.h.
References std::swap(), theRmaxZmax, theRmaxZmin, theRminZmax, theRminZmin, theZmax, and theZmin.
Referenced by clone().
|
inlineoverridevirtual |
Implements Bounds.
Definition at line 73 of file SimpleConeBounds.h.
References SimpleConeBounds().
|
inlineoverridevirtual |
Determine if the point is inside the bounds.
Implements Bounds.
Definition at line 53 of file SimpleConeBounds.h.
References PV3DBase< T, PVType, FrameType >::perp(), theRmaxZmax, theRmaxZmin, theRminZmax, theRminZmin, theZmax, theZmin, and PV3DBase< T, PVType, FrameType >::z().
Referenced by inside().
|
inlineoverridevirtual |
Determine if a point is inside the bounds, taking error into account.
Implements Bounds.
Definition at line 59 of file SimpleConeBounds.h.
References inside(), mathSSE::sqrt(), theRmaxZmax, theRmaxZmin, theRminZmax, theRminZmin, theZmax, theZmin, createJobs::tmp, and LocalError::yy().
|
inlinevirtual |
Definition at line 71 of file SimpleConeBounds.h.
References Bounds::inside().
|
inlineoverridevirtual |
Length along Z.
Implements Bounds.
Definition at line 44 of file SimpleConeBounds.h.
References theZmax, and theZmin.
Referenced by openingAngle().
|
inline |
Definition at line 76 of file SimpleConeBounds.h.
References length(), Geom::pi(), theRmaxZmax, theRmaxZmin, theRminZmax, theRminZmin, and theta().
|
inlineoverridevirtual |
Thickness in the middle (Z center). Maybe it's useless, but it is pure abstract in Bounds...
Implements Bounds.
Definition at line 49 of file SimpleConeBounds.h.
References theRmaxZmax, theRmaxZmin, theRminZmax, and theRminZmin.
|
inline |
Definition at line 81 of file SimpleConeBounds.h.
References funct::abs(), runTauDisplay::dr, SiStripPI::max, theRmaxZmax, theRmaxZmin, theRminZmax, theRminZmin, theZmax, and theZmin.
Referenced by Tau.Tau::dxy().
|
inlineoverridevirtual |
Maximum diameter.
Implements Bounds.
Definition at line 46 of file SimpleConeBounds.h.
References SiStripPI::max, theRmaxZmax, and theRmaxZmin.
|
private |
Definition at line 99 of file SimpleConeBounds.h.
Referenced by inside(), openingAngle(), SimpleConeBounds(), thickness(), vertex(), and width().
|
private |
Definition at line 96 of file SimpleConeBounds.h.
Referenced by inside(), openingAngle(), SimpleConeBounds(), thickness(), vertex(), and width().
|
private |
Definition at line 98 of file SimpleConeBounds.h.
Referenced by inside(), openingAngle(), SimpleConeBounds(), thickness(), and vertex().
|
private |
Definition at line 95 of file SimpleConeBounds.h.
Referenced by inside(), openingAngle(), SimpleConeBounds(), thickness(), and vertex().
|
private |
Definition at line 97 of file SimpleConeBounds.h.
Referenced by inside(), length(), SimpleConeBounds(), and vertex().
|
private |
Definition at line 94 of file SimpleConeBounds.h.
Referenced by inside(), length(), SimpleConeBounds(), and vertex().