AGX Dynamics  2.37.2.0
agx::Vec6 Class Reference

#include <Vec6.h>

Public Member Functions

 Vec6 ()
 
 Vec6 (const Vec6 &v)=default
 
 Vec6 (const Real &x1, const Real &x2, const Real &x3, const Real &x4, const Real &x5, const Real &x6)
 
 Vec6 (const Vec3 &v1, const Vec3 &v2)
 
Real length () const
 
Real length2 () const
 
bool operator!= (const Vec6 &v) const
 
Real operator* (const Vec6 &v) const
 
Vec6 operator* (const Real &r) const
 
const Vec6 & operator*= (const Real &r)
 
Vec6 operator+ (const Vec6 &v) const
 
const Vec6 & operator+= (const Vec6 &v)
 
Vec6 operator- (const Vec6 &v) const
 
Vec6 operator- () const
 
const Vec6 & operator-= (const Vec6 &v)
 
Vec6 operator/ (const Real &r) const
 
const Vec6 & operator/= (const Real &r)
 
Vec6 & operator= (const Vec6 &other)=default
 
bool operator== (const Vec6 &v) const
 
const Real & operator[] (agx::UInt i) const
 
Real & operator[] (agx::UInt i)
 
const Real * ptr () const
 
Real * ptr ()
 
Vec3 v1 () const
 
Vec3 v2 () const
 

Detailed Description

Definition at line 30 of file Vec6.h.

Constructor & Destructor Documentation

◆ Vec6() [1/4]

agx::Vec6::Vec6 ( )
inline

Definition at line 33 of file Vec6.h.

Referenced by operator*(), operator+(), operator-(), and operator/().

◆ Vec6() [2/4]

agx::Vec6::Vec6 ( const Vec6 &  v)
default

◆ Vec6() [3/4]

agx::Vec6::Vec6 ( const Real &  x1,
const Real &  x2,
const Real &  x3,
const Real &  x4,
const Real &  x5,
const Real &  x6 
)
inline

Definition at line 40 of file Vec6.h.

◆ Vec6() [4/4]

agx::Vec6::Vec6 ( const Vec3 &  v1,
const Vec3 &  v2 
)
inline

Definition at line 47 of file Vec6.h.

Member Function Documentation

◆ length()

Real agx::Vec6::length ( ) const
inline

Definition at line 199 of file Vec6.h.

◆ length2()

Real agx::Vec6::length2 ( ) const
inline

Definition at line 209 of file Vec6.h.

◆ operator!=()

bool agx::Vec6::operator!= ( const Vec6 &  v) const
inline

Definition at line 184 of file Vec6.h.

◆ operator*() [1/2]

Real agx::Vec6::operator* ( const Vec6 &  v) const
inline

Definition at line 76 of file Vec6.h.

◆ operator*() [2/2]

Vec6 agx::Vec6::operator* ( const Real &  r) const
inline

Definition at line 86 of file Vec6.h.

References Vec6().

◆ operator*=()

const Vec6& agx::Vec6::operator*= ( const Real &  r)
inline

Definition at line 148 of file Vec6.h.

◆ operator+()

Vec6 agx::Vec6::operator+ ( const Vec6 &  v) const
inline

Definition at line 107 of file Vec6.h.

References Vec6().

◆ operator+=()

const Vec6& agx::Vec6::operator+= ( const Vec6 &  v)
inline

Definition at line 124 of file Vec6.h.

◆ operator-() [1/2]

Vec6 agx::Vec6::operator- ( const Vec6 &  v) const
inline

Definition at line 113 of file Vec6.h.

References Vec6().

◆ operator-() [2/2]

Vec6 agx::Vec6::operator- ( ) const
inline

Definition at line 119 of file Vec6.h.

References Vec6().

◆ operator-=()

const Vec6& agx::Vec6::operator-= ( const Vec6 &  v)
inline

Definition at line 136 of file Vec6.h.

◆ operator/()

Vec6 agx::Vec6::operator/ ( const Real &  r) const
inline

Definition at line 96 of file Vec6.h.

References Vec6().

◆ operator/=()

const Vec6& agx::Vec6::operator/= ( const Real &  r)
inline

Definition at line 160 of file Vec6.h.

◆ operator=()

Vec6& agx::Vec6::operator= ( const Vec6 &  other)
default

Referenced by v2().

◆ operator==()

bool agx::Vec6::operator== ( const Vec6 &  v) const
inline

Definition at line 173 of file Vec6.h.

◆ operator[]() [1/2]

const Real& agx::Vec6::operator[] ( agx::UInt  i) const
inline

Definition at line 66 of file Vec6.h.

◆ operator[]() [2/2]

Real& agx::Vec6::operator[] ( agx::UInt  i)
inline

Definition at line 71 of file Vec6.h.

◆ ptr() [1/2]

const Real* agx::Vec6::ptr ( ) const
inline

Definition at line 189 of file Vec6.h.

◆ ptr() [2/2]

Real* agx::Vec6::ptr ( )
inline

Definition at line 194 of file Vec6.h.

◆ v1()

Vec3 agx::Vec6::v1 ( ) const
inline

Definition at line 54 of file Vec6.h.

◆ v2()

Vec3 agx::Vec6::v2 ( ) const
inline

Definition at line 59 of file Vec6.h.

References operator=().


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