FlowEngine 8.011
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::Vector3 Struct Reference

#include <CommonDef.h>

Public Member Functions

double & operator() (int index)
 
const double & operator() (int index) const
 
double & x ()
 
double x () const
 
double & y ()
 
double y () const
 
double & z ()
 
double z () const
 

Public Attributes

double data [3] = { }
 

Detailed Description

a 3d vector

Member Function Documentation

◆ operator()() [1/2]

double & FlowEngine::Vector3::operator() ( int  index)
inline
Returns
the component at the given index

◆ operator()() [2/2]

const double & FlowEngine::Vector3::operator() ( int  index) const
inline
Returns
the component at the given index

◆ x() [1/2]

double & FlowEngine::Vector3::x ( )
inline

◆ x() [2/2]

double FlowEngine::Vector3::x ( ) const
inline

◆ y() [1/2]

double & FlowEngine::Vector3::y ( )
inline

◆ y() [2/2]

double FlowEngine::Vector3::y ( ) const
inline

◆ z() [1/2]

double & FlowEngine::Vector3::z ( )
inline

◆ z() [2/2]

double FlowEngine::Vector3::z ( ) const
inline

Member Data Documentation

◆ data

double FlowEngine::Vector3::data[3] = { }