Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <BasicVector3D.h>
Public Types | |
enum | { X = 0 , Y = 1 , Z = 2 , NUM_COORDINATES = 3 , SIZE = NUM_COORDINATES } |
Protected Member Functions | |
BasicVector3D () | |
Protected Attributes | |
T | v_ [3] |
Base class for Point3D<T>, Vector3D<T> and Normal3D<T>. It defines only common functionality for those classes and should not be used as separate class.
Definition at line 27 of file BasicVector3D.h.
anonymous enum |
Safe indexing of the coordinates when using with matrices, arrays, etc.
Enumerator | |
---|---|
X | index for x-component |
Y | index for y-component |
Z | index for z-component |
NUM_COORDINATES | number of components |
SIZE | number of components |
Definition at line 41 of file BasicVector3D.h.
|
inlineprotected |
Default constructor. It is protected - this class should not be instantiated directly.
Definition at line 35 of file BasicVector3D.h.
|
inline |
Constructor from three numbers.
Definition at line 51 of file BasicVector3D.h.
|
inline |
Copy constructor. Note: BasicVector3D<double> has constructors from BasicVector3D<double> (provided by compiler) and from BasicVector3D<float> (defined in this file); BasicVector3D<float> has only the last one.
Definition at line 60 of file BasicVector3D.h.
|
inlinevirtual |
double HepGeom::BasicVector3D< double >::angle | ( | const BasicVector3D< double > & | v | ) | const |
Definition at line 192 of file BasicVector3D.cc.
float HepGeom::BasicVector3D< float >::angle | ( | const BasicVector3D< float > & | v | ) | const |
Definition at line 36 of file BasicVector3D.cc.
T HepGeom::BasicVector3D< T >::angle | ( | const BasicVector3D< T > & | v | ) | const |
Returns angle w.r.t. another vector.
|
inline |
Gets cosine of polar angle.
Definition at line 211 of file BasicVector3D.h.
|
inline |
Vector product.
Definition at line 275 of file BasicVector3D.h.
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BREPSolid::CheckSurfaceNormals(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4FPlane::G4FPlane(), G4ErrorSurfaceTrajParam::GetPlaneNormal(), G4ViewParameters::IncrementPan(), G4BREPSolid::IsConvex(), G4ViewParameters::SetPan(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), HepPolyhedron::Transform(), HepGeom::Transform3D::Transform3D(), and G4SphericalSurface::WithinBoundary().
|
inline |
Scalar product.
Definition at line 269 of file BasicVector3D.h.
Referenced by G4VSceneHandler::CreateSectionSolid(), G4BREPSolid::Intersect(), HepGeom::BasicVector3D< T >::operator*(), and HepGeom::BasicVector3D< T >::perp2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets magnitude of the vector.
Definition at line 195 of file BasicVector3D.h.
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), HepGeom::BasicVector3D< T >::angle(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), HepGeom::BasicVector3D< T >::cosTheta(), G4VSceneHandler::CreateSectionSolid(), G4CylindricalSurface::G4CylindricalSurface(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4SphericalSurface::G4SphericalSurface(), G4SphericalSurface::HowNear(), G4Surface::HowNear(), G4Ellipse::Project(), G4Hyperbola::Project(), G4ErrorPropagator::Propagate(), G4ErrorFreeTrajState::PropagateError(), G4ErrorPropagator::PropagateOneStep(), HepGeom::BasicVector3D< T >::r(), HepGeom::BasicVector3D< T >::setMag(), G4ErrorFreeTrajParam::SetParameters(), G4ErrorSurfaceTrajParam::SetParameters(), HepGeom::BasicVector3D< T >::setTheta(), HepGeom::BasicVector3D< T >::unit(), G4FConicalSurface::WithinBoundary(), and G4SphericalSurface::WithinBoundary().
|
inline |
Gets magnitude squared of the vector.
Definition at line 192 of file BasicVector3D.h.
Referenced by HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ConicalSurface::G4ConicalSurface(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ConicalSurface::HowNear(), G4CylindricalSurface::HowNear(), HepGeom::BasicVector3D< T >::mag(), HepGeom::BasicVector3D< T >::perp2(), G4Ellipse::Project(), G4Hyperbola::Project(), G4Parabola::Project(), and G4ConicalSurface::SurfaceNormal().
|
inline |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 85 of file BasicVector3D.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Multiplication by scalar.
Definition at line 108 of file BasicVector3D.h.
|
inline |
Addition.
Definition at line 98 of file BasicVector3D.h.
|
inline |
Subtraction.
Definition at line 103 of file BasicVector3D.h.
|
inline |
Division by scalar.
Definition at line 113 of file BasicVector3D.h.
|
inline |
Assignment.
Definition at line 93 of file BasicVector3D.h.
|
inline |
|
inline |
|
inline |
Returns orthogonal vector.
Definition at line 312 of file BasicVector3D.h.
|
inline |
Gets transverse component.
Definition at line 172 of file BasicVector3D.h.
Referenced by G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rho(), HepGeom::BasicVector3D< T >::setPerp(), HepGeom::BasicVector3D< T >::setPhi(), and HepGeom::BasicVector3D< T >::theta().
|
inline |
Returns transverse component w.r.t. given axis.
Definition at line 290 of file BasicVector3D.h.
|
inline |
Gets transverse component squared.
Definition at line 169 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< T >::perp().
|
inline |
Returns transverse component w.r.t. given axis squared.
Definition at line 283 of file BasicVector3D.h.
|
inline |
Gets azimuth angle.
Definition at line 201 of file BasicVector3D.h.
Referenced by G4ArrowModel::G4ArrowModel(), HepGeom::BasicVector3D< T >::getPhi(), G4ErrorFreeTrajParam::SetParameters(), and HepGeom::BasicVector3D< T >::setTheta().
T HepGeom::BasicVector3D< T >::pseudoRapidity | ( | ) | const |
Gets pseudo-rapidity: -ln(tan(theta/2))
Referenced by HepGeom::BasicVector3D< T >::eta(), and HepGeom::BasicVector3D< T >::getEta().
float HepGeom::BasicVector3D< float >::pseudoRapidity | ( | ) | const |
Definition at line 13 of file BasicVector3D.cc.
double HepGeom::BasicVector3D< double >::pseudoRapidity | ( | ) | const |
Definition at line 169 of file BasicVector3D.cc.
|
inline |
Gets r-component in spherical coordinate system
Definition at line 198 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< T >::getR().
|
inline |
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotate | ( | double | a, |
const BasicVector3D< double > & | v | ||
) |
Definition at line 233 of file BasicVector3D.cc.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotate | ( | float | a, |
const BasicVector3D< float > & | v | ||
) |
Definition at line 77 of file BasicVector3D.cc.
BasicVector3D< T > & HepGeom::BasicVector3D< T >::rotate | ( | T | a, |
const BasicVector3D< T > & | v | ||
) |
Rotates around the axis specified by another vector.
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateX | ( | double | a | ) |
Definition at line 205 of file BasicVector3D.cc.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateX | ( | float | a | ) |
BasicVector3D< T > & HepGeom::BasicVector3D< T >::rotateX | ( | T | a | ) |
Rotates around x-axis.
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateY | ( | double | a | ) |
Definition at line 214 of file BasicVector3D.cc.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateY | ( | float | a | ) |
BasicVector3D< T > & HepGeom::BasicVector3D< T >::rotateY | ( | T | a | ) |
Rotates around y-axis.
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateZ | ( | double | a | ) |
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateZ | ( | float | a | ) |
BasicVector3D< T > & HepGeom::BasicVector3D< T >::rotateZ | ( | T | a | ) |
Rotates around z-axis.
|
inline |
Sets components in cartesian coordinate system.
Definition at line 161 of file BasicVector3D.h.
Referenced by HepGeom::Normal3D< double >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Vector3D< float >::operator=(), and HepGeom::BasicVector3D< T >::setTheta().
void HepGeom::BasicVector3D< double >::setEta | ( | double | a | ) |
Definition at line 179 of file BasicVector3D.cc.
void HepGeom::BasicVector3D< float >::setEta | ( | float | a | ) |
Definition at line 23 of file BasicVector3D.cc.
void HepGeom::BasicVector3D< T >::setEta | ( | T | a | ) |
Sets pseudo-rapidity, keeping magnitude and phi fixed.
|
inline |
Sets magnitude.
Definition at line 225 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< T >::setR().
|
inline |
Sets transverse component keeping phi and z constant.
Definition at line 179 of file BasicVector3D.h.
|
inline |
Sets phi-component in spherical coordinate system.
Definition at line 236 of file BasicVector3D.h.
|
inline |
Sets r-component in spherical coordinate system.
Definition at line 233 of file BasicVector3D.h.
|
inline |
Sets theta-component in spherical coordinate system.
Definition at line 239 of file BasicVector3D.h.
|
inline |
Sets x-component in cartesian coordinate system.
Definition at line 151 of file BasicVector3D.h.
Referenced by G4BezierSurface::CalcBBox(), G4BSplineSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4NURBS::CalcPoint(), G4ControlPoints::CalcValues(), G4BezierSurface::ClipSurface(), G4Ray::CreatePlanes(), G4BoundingBox3D::Extend(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4BoundingBox3D::Init(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), G4PointRat::operator=(), HepGeom::BasicVector3D< T >::operator>>(), G4Line::Project(), G4ErrorFreeTrajState::PropagateError(), G4BREPSolid::Scope(), HepGeom::BasicVector3D< T >::setPhi(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
inline |
Sets y-component in cartesian coordinate system.
Definition at line 154 of file BasicVector3D.h.
Referenced by G4BezierSurface::CalcBBox(), G4BSplineSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4NURBS::CalcPoint(), G4ControlPoints::CalcValues(), G4BezierSurface::ClipSurface(), G4Ray::CreatePlanes(), G4BoundingBox3D::Extend(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4BoundingBox3D::Init(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), G4PointRat::operator=(), HepGeom::BasicVector3D< T >::operator>>(), G4Line::Project(), G4BREPSolid::Scope(), HepGeom::BasicVector3D< T >::setPhi(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
inline |
Sets z-component in cartesian coordinate system.
Definition at line 157 of file BasicVector3D.h.
Referenced by G4BSplineSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4NURBS::CalcPoint(), G4ControlPoints::CalcValues(), G4Ray::CreatePlanes(), G4BoundingBox3D::Extend(), G4BoundingBox3D::Init(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), G4PointRat::operator=(), HepGeom::BasicVector3D< T >::operator>>(), G4BSplineCurve::Project(), G4Ellipse::Project(), G4Hyperbola::Project(), G4Line::Project(), G4Parabola::Project(), G4BREPSolid::Scope(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
inline |
Gets polar angle.
Definition at line 206 of file BasicVector3D.h.
Referenced by G4ArrowModel::G4ArrowModel(), HepGeom::BasicVector3D< T >::getTheta(), G4ErrorFreeTrajState::PropagateError(), and G4ErrorFreeTrajParam::SetParameters().
|
inline |
Returns unit vector parallel to this.
Definition at line 304 of file BasicVector3D.h.
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepPolyhedron::FindNodeNormal(), G4ArrowModel::G4ArrowModel(), G4Ray::RayCheck(), G4DAWNFILEViewer::SendViewParameters(), G4RayTracerViewer::SetView(), G4ViewParameters::SetViewAndLights(), and G4ReflectedSolid::SurfaceNormal().
|
inline |
Gets x-component in cartesian coordinate system.
Definition at line 141 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BezierSurface::CalcBBox(), G4BSplineSurface::CalcBBox(), G4ProjectedSurface::CalcBBox(), G4SphericalSurface::CalcBBox(), G4ToroidalSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4ReflectedSolid::CalculateExtent(), G4BREPSolid::CalculateExtent(), G4ControlPoints::CalcValues(), G4ViewParameters::CameraAndLightingCommands(), G4BREPSolid::CheckSurfaceNormals(), G4BezierSurface::ClipSurface(), G4FPlane::ClosestDistanceToPoint(), G4Surface::ClosestDistanceToPoint(), G4BREPSolid::CreateNURBS(), G4Ray::CreatePlanes(), G4BREPSolid::CreatePolyhedron(), G4CutTubs::CreatePolyhedron(), G4BREPSolid::CreateRotatedVertices(), HepGeom::BasicVector3D< T >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepGeom::BasicVector3D< T >::dot(), G4BoundingBox3D::Extend(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4PlacedSolid::G4PlacedSolid(), G4VisExtent::G4VisExtent(), G4ReflectedSolid::GetPointOnSurface(), G4CircularCurve::GetPPoint(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4FConicalSurface::HowNear(), G4FCylindricalSurface::HowNear(), G4FPlane::HowNear(), G4BoundingBox3D::Init(), G4BoundingBox3D::Inside(), G4ReflectedSolid::Inside(), G4BREPSolidBox::Inside(), G4ToroidalSurface::Intersect(), G4FPlane::Intersect(), G4BREPSolid::IsConvex(), HepGeom::BasicVector3D< T >::mag2(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::Normal3D< double >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::BasicVector3D< T >::perp2(), HepGeom::BasicVector3D< T >::phi(), HepGeom::Plane3D< T >::point(), G4Line::Project(), G4Surface::Project(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4BREPSolid::Scope(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), G4ConicalSurface::SurfaceNormal(), G4FConicalSurface::SurfaceNormal(), G4ReflectedSolid::SurfaceNormal(), G4CircularCurve::Tangent(), G4Ellipse::Tangent(), G4Hyperbola::Tangent(), G4BoundingBox3D::Test(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vdot(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
inline |
Gets y-component in cartesian coordinate system.
Definition at line 144 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BezierSurface::CalcBBox(), G4BSplineSurface::CalcBBox(), G4ProjectedSurface::CalcBBox(), G4SphericalSurface::CalcBBox(), G4ToroidalSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4ReflectedSolid::CalculateExtent(), G4BREPSolid::CalculateExtent(), G4ControlPoints::CalcValues(), G4ViewParameters::CameraAndLightingCommands(), G4BREPSolid::CheckSurfaceNormals(), G4BezierSurface::ClipSurface(), G4FPlane::ClosestDistanceToPoint(), G4Surface::ClosestDistanceToPoint(), G4BREPSolid::CreateNURBS(), G4Ray::CreatePlanes(), G4BREPSolid::CreatePolyhedron(), G4CutTubs::CreatePolyhedron(), G4BREPSolid::CreateRotatedVertices(), HepGeom::BasicVector3D< T >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepGeom::BasicVector3D< T >::dot(), G4BoundingBox3D::Extend(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4PlacedSolid::G4PlacedSolid(), G4VisExtent::G4VisExtent(), G4ReflectedSolid::GetPointOnSurface(), G4CircularCurve::GetPPoint(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4FConicalSurface::HowNear(), G4FCylindricalSurface::HowNear(), G4FPlane::HowNear(), G4BoundingBox3D::Init(), G4BoundingBox3D::Inside(), G4ReflectedSolid::Inside(), G4BREPSolidBox::Inside(), G4ToroidalSurface::Intersect(), G4FPlane::Intersect(), G4BREPSolid::IsConvex(), HepGeom::BasicVector3D< T >::mag2(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::Normal3D< double >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::BasicVector3D< T >::perp2(), HepGeom::BasicVector3D< T >::phi(), HepGeom::Plane3D< T >::point(), G4Line::Project(), G4Surface::Project(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4BREPSolid::Scope(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), G4ConicalSurface::SurfaceNormal(), G4FConicalSurface::SurfaceNormal(), G4ReflectedSolid::SurfaceNormal(), G4CircularCurve::Tangent(), G4Ellipse::Tangent(), G4Hyperbola::Tangent(), G4Parabola::Tangent(), G4BoundingBox3D::Test(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vdot(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
inline |
Gets z-component in cartesian coordinate system.
Definition at line 147 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BSplineSurface::CalcBBox(), G4SphericalSurface::CalcBBox(), G4ToroidalSurface::CalcBBox(), G4BREPSolid::CalcBBoxes(), G4ReflectedSolid::CalculateExtent(), G4BREPSolid::CalculateExtent(), G4ControlPoints::CalcValues(), G4ViewParameters::CameraAndLightingCommands(), G4BREPSolid::CheckSurfaceNormals(), G4FPlane::ClosestDistanceToPoint(), G4Surface::ClosestDistanceToPoint(), HepGeom::BasicVector3D< T >::cosTheta(), G4BREPSolid::CreateNURBS(), G4Ray::CreatePlanes(), G4BREPSolid::CreatePolyhedron(), G4CutTubs::CreatePolyhedron(), G4BREPSolid::CreateRotatedVertices(), HepGeom::BasicVector3D< T >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepGeom::BasicVector3D< T >::dot(), G4BoundingBox3D::Extend(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4PlacedSolid::G4PlacedSolid(), G4VisExtent::G4VisExtent(), G4ReflectedSolid::GetPointOnSurface(), G4FConicalSurface::HowNear(), G4FCylindricalSurface::HowNear(), G4FPlane::HowNear(), G4BoundingBox3D::Init(), G4BoundingBox3D::Inside(), G4ReflectedSolid::Inside(), G4BREPSolidBox::Inside(), G4ToroidalSurface::Intersect(), G4FPlane::Intersect(), G4BREPSolid::IsConvex(), HepGeom::BasicVector3D< T >::mag2(), G4Ray::MatVecOrtho(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::Normal3D< double >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::Plane3D< T >::point(), G4Surface::Project(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4BREPSolid::Scope(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4FConicalSurface::SurfaceNormal(), G4ReflectedSolid::SurfaceNormal(), G4BoundingBox3D::Test(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), G4Ray::Vadd2(), G4Ray::Vcross(), G4Ray::Vdot(), G4Ray::Vmove(), and G4Ray::Vsub2().
|
related |
|
related |
|
related |
Scalar product of two vectors.
Definition at line 519 of file BasicVector3D.h.
|
related |
Multiplication vector by scalar.
Definition at line 510 of file BasicVector3D.h.
|
related |
Scalar product of two vectors.
Definition at line 411 of file BasicVector3D.h.
|
related |
Multiplication vector by scalar.
Definition at line 402 of file BasicVector3D.h.
|
related |
Multiplication scalar by vector.
Definition at line 528 of file BasicVector3D.h.
|
related |
Multiplication scalar by vector.
Definition at line 420 of file BasicVector3D.h.
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
Unary minus.
Definition at line 492 of file BasicVector3D.h.
|
related |
|
related |
Unary minus.
Definition at line 384 of file BasicVector3D.h.
|
related |
Division vector by scalar.
Definition at line 537 of file BasicVector3D.h.
|
related |
Division vector by scalar.
Definition at line 429 of file BasicVector3D.h.
|
related |
Output to stream.
Definition at line 262 of file BasicVector3D.cc.
|
related |
Output to stream.
Definition at line 106 of file BasicVector3D.cc.
|
related |
|
related |
|
related |
Input from stream.
Definition at line 270 of file BasicVector3D.cc.
|
related |
Input from stream.
Definition at line 114 of file BasicVector3D.cc.
|
protected |
Definition at line 29 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< T >::BasicVector3D(), HepGeom::BasicVector3D< double >::operator const double *(), HepGeom::BasicVector3D< double >::operator double *(), HepGeom::BasicVector3D< T >::operator()(), HepGeom::BasicVector3D< T >::operator*=(), HepGeom::BasicVector3D< T >::operator+=(), HepGeom::BasicVector3D< T >::operator-=(), HepGeom::BasicVector3D< T >::operator/=(), HepGeom::BasicVector3D< T >::operator=(), HepGeom::BasicVector3D< T >::operator[](), HepGeom::BasicVector3D< T >::set(), HepGeom::BasicVector3D< T >::setMag(), HepGeom::BasicVector3D< T >::setPerp(), HepGeom::BasicVector3D< T >::setX(), HepGeom::BasicVector3D< T >::setY(), HepGeom::BasicVector3D< T >::setZ(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().