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

Public Member Functions

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

Public Attributes

float x
 
float y
 
float z
 

Constructor & Destructor Documentation

AltusUnified::vec3f::vec3f ( float  ,
float  ,
float   
)

Member Function Documentation

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

Member Data Documentation

float AltusUnified::vec3f::x
float AltusUnified::vec3f::y
float AltusUnified::vec3f::z