CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Geometry/Plane3D.h>
Public Member Functions | |
Plane3D () | |
Plane3D (T a1, T b1, T c1, T d1) | |
Plane3D (const Normal3D< T > &n, const Point3D< T > &p) | |
Plane3D (const Point3D< T > &p1, const Point3D< T > &p2, const Point3D< T > &p3) | |
Plane3D (const Plane3D< T > &)=default | |
template<typename U = T, typename = typename std::enable_if<!std::is_same<U,float>::value >::type> | |
Plane3D (const Plane3D< float > &p) | |
Plane3D (Plane3D< T > &&)=default | |
~Plane3D ()=default | |
Plane3D< T > & | operator= (const Plane3D< T > &)=default |
Plane3D< T > & | operator= (Plane3D< T > &&)=default |
T | a () const |
T | b () const |
T | c () const |
T | d () const |
Normal3D< T > | normal () const |
Plane3D< T > & | normalize () |
T | distance (const Point3D< T > &p) const |
Point3D< T > | point (const Point3D< T > &p) const |
Point3D< T > | point () const |
bool | operator== (const Plane3D< T > &p) const |
bool | operator!= (const Plane3D< T > &p) const |
Plane3D< T > & | transform (const Transform3D &m) |
Protected Attributes | |
T | a_ |
T | b_ |
T | c_ |
T | d_ |
Related Symbols | |
(Note that these are not member symbols.) | |
std::ostream & | operator<< (std::ostream &os, const Plane3D< float > &p) |
std::ostream & | operator<< (std::ostream &os, const Plane3D< double > &p) |
Template class for geometrical plane in 3D.
|
inline |
Default constructor - creates plane z=0.
Definition at line 37 of file Plane3D.h.
References a_, b_, c_, and d_.
Referenced by normalize(), operator!=(), operator<<(), operator<<(), operator=(), operator=(), operator==(), Plane3D(), Plane3D(), Plane3D(), and transform().
|
inline |
|
inline |
|
inline |
Constructor from three points.
Definition at line 50 of file Plane3D.h.
References a_, b_, c_, d_, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
default |
Copy constructor.
References Plane3D().
|
inline |
|
default |
Move constructor.
References Plane3D().
|
default |
Destructor.
|
inline |
Returns the a-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition at line 86 of file Plane3D.h.
References a_.
Referenced by distance(), operator!=(), operator==(), point(), and point().
|
inline |
Returns the b-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition at line 89 of file Plane3D.h.
References b_.
Referenced by distance(), operator!=(), operator==(), point(), and point().
|
inline |
Returns the c-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition at line 92 of file Plane3D.h.
References c_.
Referenced by distance(), operator!=(), operator==(), point(), and point().
|
inline |
Returns the free member of the plane equation: a*x+b*y+c*z+d=0.
Definition at line 95 of file Plane3D.h.
References d_.
Referenced by distance(), operator!=(), operator==(), and point().
|
inline |
Returns distance to the point.
Definition at line 111 of file Plane3D.h.
References a(), b(), c(), d(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by point().
|
inline |
|
inline |
|
inline |
|
default |
Assignment.
References Plane3D().
|
default |
Move assignment.
References Plane3D().
|
inline |
|
inline |
|
inline |
Returns projection of the point to the plane.
Definition at line 117 of file Plane3D.h.
References a(), b(), c(), distance(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inline |
Transformation by Transform3D.
Definition at line 143 of file Plane3D.h.
References a_, b_, c_, d_, normal(), Plane3D(), point(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
Output to the stream.
References Plane3D().
|
Output to the stream.
References Plane3D().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 32 of file Plane3D.h.
Referenced by d(), normalize(), Plane3D(), Plane3D(), Plane3D(), Plane3D(), Plane3D(), and transform().