18#include "CLHEP/Geometry/defs.h"
19#include "CLHEP/Vector/ThreeVector.h"
20#include "CLHEP/Geometry/BasicVector3D.h"
97 float dx = p.
x()-
x(), dy = p.
y()-
y(), dz = p.
z()-
z();
98 return dx*dx + dy*dy + dz*dz;
103 float distance()
const {
return std::sqrt(distance2()); }
108 return std::sqrt(distance2(p));
121 operator*(
const Transform3D & m,
const Point3D<float> & p);
214 double dx = p.
x()-
x(), dy = p.
y()-
y(), dz = p.
z()-
z();
215 return dx*dx + dy*dy + dz*dz;
220 double distance()
const {
return std::sqrt(distance2()); }
225 return std::sqrt(distance2(p));
238 operator*(
const Transform3D & m,
const Point3D<double> & p);
242#ifdef ENABLE_BACKWARDS_COMPATIBILITY
244#include "CLHEP/config/CLHEP.h"
245#include "CLHEP/Geometry/Normal3D.h"
246#include "CLHEP/Geometry/Transform3D.h"
BasicVector3D< T > & operator=(const BasicVector3D< T > &)=default
Point3D< double > & operator=(Point3D< double > &&)=default
Point3D(Point3D< double > &&)=default
double distance2(const Point3D< double > &p) const
double distance(const Point3D< double > &p) const
Point3D(const BasicVector3D< double > &v)
Point3D(const BasicVector3D< float > &v)
Point3D(const Point3D< double > &)=default
Point3D(double x1, double y1, double z1)
Point3D< double > & operator=(const BasicVector3D< double > &v)
Point3D< double > & operator=(const BasicVector3D< float > &v)
Point3D(const CLHEP::Hep3Vector &v)
Point3D< double > & operator=(const Point3D< double > &)=default
Point3D< float > & operator=(const BasicVector3D< float > &v)
float distance2(const Point3D< float > &p) const
Point3D< float > & operator=(Point3D< float > &&)=default
Point3D(float x1, float y1, float z1)
Point3D< float > & operator=(const Point3D< float > &)=default
Point3D(const BasicVector3D< float > &v)
float distance(const Point3D< float > &p) const
Point3D(const Point3D< float > &)=default
Point3D(Point3D< float > &&)=default
Normal3D< float > operator*(const Transform3D &m, const Normal3D< float > &v)
HepGeom::Point3D< double > HepPoint3D