Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::vec3d Class Reference

Public Member Functions

 vec3d (double, double, double)
 
void set (vec3d)
 
vec3d mul (vec3d other)
 
vec3d sub (vec3d other)
 
vec3d add (vec3d other)
 
vec3d div (vec3d other)
 
void mul_inplace (vec3d c)
 
void sub_inplace (vec3d c)
 
void add_inplace (vec3d c)
 
void div_inplace (vec3d c)
 
vec3d negate ()
 
bool eq (vec3d other)
 
bool neq (vec3d other)
 
vec3d mul_const (double other)
 
vec3d sub_const (double other)
 
vec3d add_const (double other)
 
vec3d div_const (double other)
 
void mul_const_inplace (double other)
 
void sub_const_inplace (double other)
 
void add_const_inplace (double other)
 
void div_const_inplace (double other)
 
double dot (vec3d other)
 
double normalize ()
 
double length ()
 
double length_squared ()
 
double distance (vec3d other)
 
double distance_squared (vec3d other)
 
vec3d cross (const vec3d other)
 
string toString ()
 

Public Attributes

double x
 
double y
 
double z
 

Constructor & Destructor Documentation

AltusUnified::vec3d::vec3d ( double  ,
double  ,
double   
)

Member Function Documentation

vec3d AltusUnified::vec3d::add ( vec3d  other)
vec3d AltusUnified::vec3d::add_const ( double  other)
void AltusUnified::vec3d::add_const_inplace ( double  other)
void AltusUnified::vec3d::add_inplace ( vec3d  c)
vec3d AltusUnified::vec3d::cross ( const vec3d  other)
double AltusUnified::vec3d::distance ( vec3d  other)
double AltusUnified::vec3d::distance_squared ( vec3d  other)
vec3d AltusUnified::vec3d::div ( vec3d  other)
vec3d AltusUnified::vec3d::div_const ( double  other)
void AltusUnified::vec3d::div_const_inplace ( double  other)
void AltusUnified::vec3d::div_inplace ( vec3d  c)
double AltusUnified::vec3d::dot ( vec3d  other)
bool AltusUnified::vec3d::eq ( vec3d  other)
double AltusUnified::vec3d::length ( )
double AltusUnified::vec3d::length_squared ( )
vec3d AltusUnified::vec3d::mul ( vec3d  other)
vec3d AltusUnified::vec3d::mul_const ( double  other)
void AltusUnified::vec3d::mul_const_inplace ( double  other)
void AltusUnified::vec3d::mul_inplace ( vec3d  c)
vec3d AltusUnified::vec3d::negate ( )
bool AltusUnified::vec3d::neq ( vec3d  other)
double AltusUnified::vec3d::normalize ( )
void AltusUnified::vec3d::set ( vec3d  )
vec3d AltusUnified::vec3d::sub ( vec3d  other)
vec3d AltusUnified::vec3d::sub_const ( double  other)
void AltusUnified::vec3d::sub_const_inplace ( double  other)
void AltusUnified::vec3d::sub_inplace ( vec3d  c)
string AltusUnified::vec3d::toString ( )

Member Data Documentation

double AltusUnified::vec3d::x
double AltusUnified::vec3d::y
double AltusUnified::vec3d::z