BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Three-dimensional vector template, for use with integer, double, or complex components. More...
Public Member Functions | |
BasicVector3D () | |
Constructs the null vector. More... | |
BasicVector3D (const T x1, const T y1, const T z1) | |
Constructs a vector from cartesian components. More... | |
double | angle (const BasicVector3D< T > &v) const |
Returns angle with respect to another vector. More... | |
BasicVector3D< complex_t > | complex () const |
Returns this, trivially converted to complex type. More... | |
BasicVector3D< T > | conj () const |
Returns complex conjugate vector. More... | |
double | cosTheta () const |
Returns cosine of polar angle. More... | |
template<class U > | |
auto | cross (const BasicVector3D< U > &v) const |
Returns cross product of vectors (linear in both arguments). More... | |
template<class U > | |
auto | dot (const BasicVector3D< U > &v) const |
Returns dot product of vectors (antilinear in the first [=self] argument). More... | |
double | mag () const |
Returns magnitude of the vector. More... | |
double | mag2 () const |
Returns magnitude squared of the vector. More... | |
double | magxy () const |
Returns distance from z axis. More... | |
double | magxy2 () const |
Returns squared distance from z axis. More... | |
template<class U > | |
auto | operator*= (U a) |
Multiplies this with a scalar, and returns result. More... | |
BasicVector3D< T > & | operator+= (const BasicVector3D< T > &v) |
Adds other vector to this, and returns result. More... | |
BasicVector3D< T > & | operator-= (const BasicVector3D< T > &v) |
Subtracts other vector from this, and returns result. More... | |
template<class U > | |
auto | operator/= (U a) |
Divides this by a scalar, and returns result. More... | |
T & | operator[] (int i) |
Sets components by index. More... | |
T | operator[] (int i) const |
Returns components by index. More... | |
double | phi () const |
Returns azimuth angle. More... | |
BasicVector3D< T > | project (const BasicVector3D< T > &v) const |
Returns projection of this onto other vector: (this*v)*v/|v|^2. More... | |
BasicVector3D< double > | real () const |
Returns real parts. More... | |
BasicVector3D< T > | rotated (double a, const BasicVector3D< T > &v) const |
Returns result of rotation around the axis specified by another vector. More... | |
BasicVector3D< T > | rotatedX (double a) const |
Returns result of rotation around x-axis. More... | |
BasicVector3D< T > | rotatedY (double a) const |
Returns result of rotation around y-axis. More... | |
BasicVector3D< T > | rotatedZ (double a) const |
Returns result of rotation around z-axis. More... | |
void | setX (const T &a) |
Sets x-component in cartesian coordinate system. More... | |
void | setY (const T &a) |
Sets y-component in cartesian coordinate system. More... | |
void | setZ (const T &a) |
Sets z-component in cartesian coordinate system. More... | |
double | sin2Theta () const |
Returns squared sine of polar angle. More... | |
double | theta () const |
Returns polar angle. More... | |
BasicVector3D< T > | unit () const |
Returns unit vector in direction of this. Throws for null vector. More... | |
T | x () const |
Returns x-component in cartesian coordinate system. More... | |
T | y () const |
Returns y-component in cartesian coordinate system. More... | |
T | z () const |
Returns z-component in cartesian coordinate system. More... | |
Private Attributes | |
T | v_ [3] |
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
bool | operator!= (const BasicVector3D< T > &a, const BasicVector3D< T > &b) |
Comparison of two vectors for inequality. More... | |
template<class T , class U > | |
auto | operator* (const BasicVector3D< T > &v, const U a) |
Multiplication vector by scalar. More... | |
template<class T , class U > | |
auto | operator* (const U a, const BasicVector3D< T > &v) |
Multiplication scalar by vector. More... | |
template<class T > | |
BasicVector3D< T > | operator+ (const BasicVector3D< T > &a, const BasicVector3D< T > &b) |
Addition of two vectors. More... | |
template<class T > | |
BasicVector3D< T > | operator+ (const BasicVector3D< T > &v) |
Unary plus. More... | |
template<class T > | |
BasicVector3D< T > | operator- (const BasicVector3D< T > &a, const BasicVector3D< T > &b) |
Subtraction of two vectors. More... | |
template<class T > | |
BasicVector3D< T > | operator- (const BasicVector3D< T > &v) |
Unary minus. More... | |
template<class T , class U > | |
BasicVector3D< T > | operator/ (const BasicVector3D< T > &v, U a) |
Division vector by scalar. More... | |
template<class T > | |
std::ostream & | operator<< (std::ostream &os, const BasicVector3D< T > &a) |
Output to stream. More... | |
template<class T > | |
bool | operator== (const BasicVector3D< T > &a, const BasicVector3D< T > &b) |
Comparison of two vectors for equality. More... | |
Three-dimensional vector template, for use with integer, double, or complex components.
Definition at line 27 of file BasicVector3D.h.
|
inline |
Constructs the null vector.
Definition at line 37 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Constructs a vector from cartesian components.
Definition at line 45 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
double BasicVector3D< T >::angle | ( | const BasicVector3D< T > & | v | ) | const |
Returns angle with respect to another vector.
BasicVector3D<complex_t> BasicVector3D< T >::complex | ( | ) | const |
Returns this, trivially converted to complex type.
Referenced by Bin1DCVector::Bin1DCVector(), FormFactorCrystal::evaluate(), and FormFactorCrystal::evaluatePol().
BasicVector3D<T> BasicVector3D< T >::conj | ( | ) | const |
Returns complex conjugate vector.
double BasicVector3D< T >::cosTheta | ( | ) | const |
Returns cosine of polar angle.
|
inline |
Returns cross product of vectors (linear in both arguments).
Returns cross product of (complex) vectors.
Definition at line 312 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
Referenced by Lattice3D::computeReciprocalVectors(), PolyhedralFace::edge_sum_ff(), MisesFisherGaussPeakShape::evaluate(), MisesGaussPeakShape::evaluate(), PolyhedralFace::ff_n_core(), RectangularDetector::initUandV(), and Lattice3D::unitCellVolume().
|
inline |
Returns dot product of vectors (antilinear in the first [=self] argument).
Returns dot product of (complex) vectors (antilinear in the first [=self] argument).
Definition at line 301 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
Referenced by PolyhedralFace::PolyhedralFace(), RectangularPixel::calculateSolidAngle(), Lattice3D::computeReciprocalVectors(), PolyhedralEdge::contrib(), PolyhedralFace::decompose_q(), PolyhedralFace::edge_sum_ff(), GaussFisherPeakShape::evaluate(), LorentzFisherPeakShape::evaluate(), MisesFisherGaussPeakShape::evaluate(), MisesGaussPeakShape::evaluate(), PolyhedralFace::ff_2D(), PolyhedralFace::ff_n(), PolyhedralFace::ff_n_core(), Lattice3D::getNearestReciprocalLatticeVectorCoordinates(), FormFactorDecoratorPositionFactor::getPositionFactor(), InterferenceFunctionTwin::iff_without_dw(), InterferenceFunctionFinite3DLattice::iff_without_dw(), RectangularDetector::indexOfSpecular(), RectangularDetector::initUandV(), MisesFisherGaussPeakShape::integrand(), RectangularPixel::integrationFactor(), PolyhedralFace::normalProjectionConj(), BasicVector3D< T >::project(), PolyhedralEdge::qE(), PolyhedralEdge::qR(), and Lattice3D::unitCellVolume().
|
inline |
Returns magnitude of the vector.
Definition at line 131 of file BasicVector3D.h.
References BasicVector3D< T >::mag2().
Referenced by MatrixRTCoefficients::MatrixRTCoefficients(), DetectionProperties::analyzerOperator(), FormFactorCrystal::calculateLargestReciprocalDistance(), RectangularPixel::calculateSolidAngle(), SpecularMagneticStrategy_v2::calculateTR(), DetectionProperties::checkAnalyzerProperties(), MatrixRTCoefficients::computeDeltaMatrix(), KzComputation::computeReducedKz(), SpecularMagneticStrategy_v2::computeTR(), DetectorItem::createDetector(), PolyhedralFace::decompose_q(), GaussFisherPeakShape::evaluate(), LorentzFisherPeakShape::evaluate(), MisesFisherGaussPeakShape::evaluate(), MisesGaussPeakShape::evaluate(), Polyhedron::evaluate_centered(), FormFactorCone::evaluate_for_q(), FormFactorHemiEllipsoid::evaluate_for_q(), FormFactorTruncatedSphere::evaluate_for_q(), FormFactorTruncatedSpheroid::evaluate_for_q(), PolyhedralFace::ff(), PolyhedralFace::ff_2D(), PolyhedralFace::ff_n(), InterferenceFunction3DLattice::initRecRadius(), RectangularDetector::initUandV(), RectangularPixel::integrationFactor(), SpecularMagneticStrategy_v2::nullifyBottomReflection(), Slice::polarizedReducedPotential(), Lattice3D::reciprocalLatticeVectorsWithinRadius(), Slice::scalarReducedPotential(), DetectionProperties::setAnalyzerProperties(), Beam::setPolarization(), RectangularDetector::setPosition(), and MatrixRTCoefficients::TransformationMatrix().
|
inline |
Returns magnitude squared of the vector.
Definition at line 128 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by InterferenceFunctionTwin::InterferenceFunctionTwin(), PolyhedralEdge::PolyhedralEdge(), PolyhedralFace::PolyhedralFace(), KzComputation::computeKzFromRefIndices(), FormFactorCrystal::debyeWallerFactor(), IInterferenceFunction::DWfactor(), IsotropicGaussPeakShape::evaluate(), IsotropicLorentzPeakShape::evaluate(), MisesFisherGaussPeakShape::evaluate(), MisesGaussPeakShape::evaluate(), Polyhedron::evaluate_centered(), PolyhedralFace::expansion(), PolyhedralFace::ff(), PolyhedralFace::ff_2D_direct(), PolyhedralFace::ff_n(), ScalarFresnelMap::getCoefficientsFromCache(), BasicVector3D< T >::mag(), MaterialUtils::PolarizedReducedPotential(), and BasicVector3D< T >::project().
|
inline |
Returns distance from z axis.
Definition at line 137 of file BasicVector3D.h.
References BasicVector3D< T >::magxy2().
Referenced by SSCApproximationStrategy::polarizedCalculation(), and SSCApproximationStrategy::scalarCalculation().
|
inline |
Returns squared distance from z axis.
Definition at line 134 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by BasicVector3D< T >::magxy().
Multiplies this with a scalar, and returns result.
Definition at line 100 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Adds other vector to this, and returns result.
Definition at line 81 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Subtracts other vector from this, and returns result.
Definition at line 90 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Divides this by a scalar, and returns result.
Definition at line 111 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Sets components by index.
Definition at line 60 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Returns components by index.
Definition at line 57 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
double BasicVector3D< T >::phi | ( | ) | const |
Returns azimuth angle.
Referenced by RectangularConverter::axisAngle(), and SimulationElement::getPhi().
|
inline |
Returns projection of this onto other vector: (this*v)*v/|v|^2.
Definition at line 178 of file BasicVector3D.h.
References BasicVector3D< T >::dot(), and BasicVector3D< T >::mag2().
BasicVector3D<double> BasicVector3D< T >::real | ( | ) | const |
Returns real parts.
Referenced by FormFactorCrystal::evaluate(), and FormFactorCrystal::evaluatePol().
BasicVector3D<T> BasicVector3D< T >::rotated | ( | double | a, |
const BasicVector3D< T > & | v | ||
) | const |
Returns result of rotation around the axis specified by another vector.
BasicVector3D<T> BasicVector3D< T >::rotatedX | ( | double | a | ) | const |
Returns result of rotation around x-axis.
BasicVector3D<T> BasicVector3D< T >::rotatedY | ( | double | a | ) | const |
Returns result of rotation around y-axis.
|
inline |
Returns result of rotation around z-axis.
Definition at line 192 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
Referenced by InterferenceFunction2DSuperLattice::interferenceForXi().
|
inline |
Sets x-component in cartesian coordinate system.
Definition at line 70 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Sets y-component in cartesian coordinate system.
Definition at line 72 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
|
inline |
Sets z-component in cartesian coordinate system.
Definition at line 74 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by IBornFF::computeSlicingEffects(), IInterferenceFunction::DWfactor(), ComputeDWBA::evaluate(), ComputeDWBAPol::evaluatePol(), Slice::initBField(), and RectangularDetector::initNormalVector().
double BasicVector3D< T >::sin2Theta | ( | ) | const |
Returns squared sine of polar angle.
Referenced by MaterialUtils::ScalarReducedPotential().
double BasicVector3D< T >::theta | ( | ) | const |
Returns polar angle.
Referenced by RectangularConverter::axisAngle(), SimulationElement::getAlpha(), and ScalarFresnelMap::getCoefficientsFromCache().
BasicVector3D<T> BasicVector3D< T >::unit | ( | ) | const |
Returns unit vector in direction of this. Throws for null vector.
Referenced by PolyhedralFace::PolyhedralFace(), MisesFisherGaussPeakShape::evaluate(), MisesGaussPeakShape::evaluate(), Lattice3D::getMillerDirection(), InterferenceFunctionTwin::iff_without_dw(), RectangularDetector::indexOfSpecular(), RectangularDetector::initNormalVector(), RectangularDetector::initUandV(), RectangularPixel::normalizeLength(), RectangularConverter::normalizeToWavelength(), and DetectionProperties::setAnalyzerProperties().
|
inline |
Returns x-component in cartesian coordinate system.
Definition at line 63 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by DetectionProperties::analyzerOperator(), RealSpaceBuilderUtils::applyParticleCoreShellTransformations(), RealSpaceBuilderUtils::applyParticleTransformations(), SpecularMagneticStrategy_v2::calculateTR(), MatrixRTCoefficients::computeDeltaMatrix(), SpecularMagneticNCStrategy::computeRoughnessMatrices(), BasicVector3D< T >::cross(), SampleToPython::defineLattices3D(), SampleToPython::defineMaterials(), BasicVector3D< T >::dot(), InterferenceFunction2DSuperLattice::evaluate(), Prism::evaluate_for_q(), FormFactorBox::evaluate_for_q(), FormFactorCylinder::evaluate_for_q(), FormFactorEllipsoidalCylinder::evaluate_for_q(), FormFactorFullSpheroid::evaluate_for_q(), FormFactorHollowSphere::evaluate_for_q(), FormFactorLongBoxGauss::evaluate_for_q(), FormFactorLongBoxLorentz::evaluate_for_q(), IProfileRipple::evaluate_for_q(), FormFactorGaussSphere::evaluate_for_q(), FormFactorSphereGaussianRadius::evaluate_for_q(), ComputeDWBAPol::evaluatePol(), someff::ffSphere(), LayerRoughness::getCorrFun(), Beam::getPolarization(), LayerRoughness::getSpectralFun(), InterferenceFunctionRadialParaCrystal::iff_without_dw(), InterferenceFunction1DLattice::iff_without_dw(), InterferenceFunction2DLattice::iff_without_dw(), InterferenceFunction2DParaCrystal::iff_without_dw(), InterferenceFunction2DSuperLattice::iff_without_dw(), InterferenceFunctionFinite2DLattice::iff_without_dw(), InterferenceFunctionHardDisk::iff_without_dw(), FormFactorCone::Integrand(), FormFactorHemiEllipsoid::Integrand(), FormFactorTruncatedSphere::Integrand(), FormFactorTruncatedSpheroid::Integrand(), SpecularMagneticStrategy_v2::nullifyBottomReflection(), BasicVector3D< T >::operator!=(), BasicVector3D< T >::operator*(), BasicVector3D< T >::operator+(), BasicVector3D< T >::operator-(), BasicVector3D< T >::operator/(), BasicVector3D< T >::operator<<(), BasicVector3D< T >::operator==(), MatrixRTCoefficients::pMatrixHelper(), RealSpaceMesoCrystal::populateMesoCrystal(), pyfmt::printKvector(), BasicVector3D< T >::rotatedZ(), TransformToDomain::setPositionInfo(), VectorItem::setVector(), IParametricComponent::setVectorValue(), MatrixRTCoefficients::TransformationMatrix(), Transform3D::transformed(), and Transform3D::transformedInverse().
|
inline |
Returns y-component in cartesian coordinate system.
Definition at line 65 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by DetectionProperties::analyzerOperator(), RealSpaceBuilderUtils::applyParticleCoreShellTransformations(), RealSpaceBuilderUtils::applyParticleTransformations(), SpecularMagneticStrategy_v2::calculateTR(), MatrixRTCoefficients::computeDeltaMatrix(), BasicVector3D< T >::cross(), SampleToPython::defineLattices3D(), SampleToPython::defineMaterials(), BasicVector3D< T >::dot(), InterferenceFunction2DSuperLattice::evaluate(), Prism::evaluate_for_q(), FormFactorBox::evaluate_for_q(), FormFactorCylinder::evaluate_for_q(), FormFactorEllipsoidalCylinder::evaluate_for_q(), FormFactorFullSpheroid::evaluate_for_q(), FormFactorHollowSphere::evaluate_for_q(), FormFactorLongBoxGauss::evaluate_for_q(), FormFactorLongBoxLorentz::evaluate_for_q(), IProfileRipple::evaluate_for_q(), FormFactorGaussSphere::evaluate_for_q(), FormFactorSphereGaussianRadius::evaluate_for_q(), ComputeDWBAPol::evaluatePol(), someff::ffSphere(), LayerRoughness::getCorrFun(), Beam::getPolarization(), LayerRoughness::getSpectralFun(), InterferenceFunctionRadialParaCrystal::iff_without_dw(), InterferenceFunction1DLattice::iff_without_dw(), InterferenceFunction2DLattice::iff_without_dw(), InterferenceFunction2DParaCrystal::iff_without_dw(), InterferenceFunction2DSuperLattice::iff_without_dw(), InterferenceFunctionFinite2DLattice::iff_without_dw(), InterferenceFunctionHardDisk::iff_without_dw(), FormFactorCone::Integrand(), FormFactorHemiEllipsoid::Integrand(), FormFactorTruncatedSphere::Integrand(), FormFactorTruncatedSpheroid::Integrand(), SpecularMagneticStrategy_v2::nullifyBottomReflection(), BasicVector3D< T >::operator!=(), BasicVector3D< T >::operator*(), BasicVector3D< T >::operator+(), BasicVector3D< T >::operator-(), BasicVector3D< T >::operator/(), BasicVector3D< T >::operator<<(), BasicVector3D< T >::operator==(), MatrixRTCoefficients::pMatrixHelper(), RealSpaceMesoCrystal::populateMesoCrystal(), pyfmt::printKvector(), BasicVector3D< T >::rotatedZ(), TransformToDomain::setPositionInfo(), VectorItem::setVector(), IParametricComponent::setVectorValue(), MatrixRTCoefficients::TransformationMatrix(), Transform3D::transformed(), and Transform3D::transformedInverse().
|
inline |
Returns z-component in cartesian coordinate system.
Definition at line 67 of file BasicVector3D.h.
References BasicVector3D< T >::v_.
Referenced by DetectionProperties::analyzerOperator(), RealSpaceBuilderUtils::applyParticleCoreShellTransformations(), RealSpaceBuilderUtils::applyParticleTransformations(), FormFactorFullSphere::bottomZ(), FormFactorDecoratorPositionFactor::bottomZ(), SpecularMagneticStrategy_v2::calculateTR(), MatrixRTCoefficients::computeDeltaMatrix(), KzComputation::computeKzFromRefIndices(), KzComputation::computeReducedKz(), IBornFF::computeSlicingEffects(), BasicVector3D< T >::cross(), SampleToPython::defineLattices3D(), SampleToPython::defineMaterials(), BasicVector3D< T >::dot(), ComputeDWBA::evaluate(), Polyhedron::evaluate_for_q(), Prism::evaluate_for_q(), FormFactorBox::evaluate_for_q(), FormFactorCylinder::evaluate_for_q(), FormFactorEllipsoidalCylinder::evaluate_for_q(), FormFactorFullSphere::evaluate_for_q(), FormFactorFullSpheroid::evaluate_for_q(), FormFactorHollowSphere::evaluate_for_q(), FormFactorLongBoxGauss::evaluate_for_q(), FormFactorLongBoxLorentz::evaluate_for_q(), FormFactorTruncatedSphere::evaluate_for_q(), FormFactorTruncatedSpheroid::evaluate_for_q(), IProfileRipple::evaluate_for_q(), FormFactorGaussSphere::evaluate_for_q(), FormFactorSphereGaussianRadius::evaluate_for_q(), someff::ffSphere(), Beam::getPolarization(), ProcessedSample::initBFields(), RectangularDetector::initNormalVector(), FormFactorCone::Integrand(), FormFactorHemiEllipsoid::Integrand(), FormFactorTruncatedSphere::Integrand(), FormFactorTruncatedSpheroid::Integrand(), SpecularMagneticStrategy_v2::nullifyBottomReflection(), BasicVector3D< T >::operator!=(), BasicVector3D< T >::operator*(), BasicVector3D< T >::operator+(), BasicVector3D< T >::operator-(), BasicVector3D< T >::operator/(), BasicVector3D< T >::operator<<(), BasicVector3D< T >::operator==(), MatrixRTCoefficients::pMatrixHelper(), RealSpaceMesoCrystal::populateMesoCrystal(), pyfmt::printKvector(), BasicVector3D< T >::rotatedZ(), TransformToDomain::setPositionInfo(), VectorItem::setVector(), IParametricComponent::setVectorValue(), FormFactorFullSphere::topZ(), FormFactorDecoratorPositionFactor::topZ(), MatrixRTCoefficients::TransformationMatrix(), Transform3D::transformed(), and Transform3D::transformedInverse().
|
related |
Comparison of two vectors for inequality.
Definition at line 288 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Multiplication vector by scalar.
Definition at line 252 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Multiplication scalar by vector.
Definition at line 261 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Addition of two vectors.
Definition at line 236 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
|
related |
Subtraction of two vectors.
Definition at line 244 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Unary minus.
Definition at line 224 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Division vector by scalar.
Definition at line 274 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Output to stream.
Definition at line 206 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
related |
Comparison of two vectors for equality.
Definition at line 281 of file BasicVector3D.h.
References BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
|
private |
Definition at line 29 of file BasicVector3D.h.
Referenced by BasicVector3D< T >::BasicVector3D(), BasicVector3D< T >::mag2(), BasicVector3D< T >::magxy2(), BasicVector3D< T >::operator*=(), BasicVector3D< T >::operator+=(), BasicVector3D< T >::operator-=(), BasicVector3D< T >::operator/=(), BasicVector3D< T >::operator[](), BasicVector3D< T >::setX(), BasicVector3D< T >::setY(), BasicVector3D< T >::setZ(), BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().