Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::Impl::FromXYZ< V > Struct Template Reference

template<class V>
struct ROOT::Math::Impl::FromXYZ< V >

Builds an arbitrary vector type from Cartesian components with its (x, y, z) constructor.

GenVector's non-Cartesian coordinate systems take their own coordinates in that constructor, e.g. Polar3D(r, theta, phi), so they are set through SetXYZ() instead.

Definition at line 729 of file DisplacementVector3D.h.

Static Public Member Functions

template<class Scalar >
static V Make (Scalar x, Scalar y, Scalar z)
 

#include <Math/GenVector/DisplacementVector3D.h>

Member Function Documentation

◆ Make()

template<class V >
template<class Scalar >
static V ROOT::Math::Impl::FromXYZ< V >::Make ( Scalar x,
Scalar y,
Scalar z )
inlinestatic

Definition at line 731 of file DisplacementVector3D.h.


The documentation for this struct was generated from the following file: