#include <CoordinateSets.h>
Public Member Functions | |
const T & | phi () const |
Polar2Cartesian (const T &r, const T &phi) | |
Construct from radius and polar angle. More... | |
const T & | r () const |
T | x () const |
T | y () const |
Private Attributes | |
T | phi_ |
T | r_ |
Converts polar 2D coordinates to cartesian coordinates. Note: Spherical coordinates (also sometimes called Polar 3D coordinates) are handled by class Spherical2Cartesian
Definition at line 14 of file CoordinateSets.h.
|
inline |
|
inline |
Definition at line 21 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi_.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), Geom::Spherical2Cartesian< T >::x(), and Geom::Spherical2Cartesian< T >::y().
|
inline |
Definition at line 20 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::r_.
Referenced by Geom::Spherical2Cartesian< T >::z().
|
inline |
Definition at line 23 of file CoordinateSets.h.
References funct::cos(), Geom::Polar2Cartesian< T >::phi_, and Geom::Polar2Cartesian< T >::r_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 24 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi_, Geom::Polar2Cartesian< T >::r_, and funct::sin().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 28 of file CoordinateSets.h.
Referenced by Geom::Polar2Cartesian< T >::phi(), Geom::Cylindrical2Cartesian< T >::phi(), Geom::Spherical2Cartesian< T >::phi(), Geom::Polar2Cartesian< T >::x(), Geom::Cylindrical2Cartesian< T >::x(), Geom::Polar2Cartesian< T >::y(), and Geom::Cylindrical2Cartesian< T >::y().
|
private |
Definition at line 27 of file CoordinateSets.h.
Referenced by Geom::Polar2Cartesian< T >::r(), Geom::Cylindrical2Cartesian< T >::r(), Geom::Spherical2Cartesian< T >::r(), Geom::Polar2Cartesian< T >::x(), Geom::Cylindrical2Cartesian< T >::x(), Geom::Polar2Cartesian< T >::y(), and Geom::Cylindrical2Cartesian< T >::y().