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

Public Member Functions

 vec4f (float, float, float, float)
 
void set (vec4f)
 
vec4f mul (vec4f other)
 
vec4f sub (vec4f other)
 
vec4f add (vec4f other)
 
vec4f div (vec4f other)
 
void mul_inplace (vec4f c)
 
void sub_inplace (vec4f c)
 
void add_inplace (vec4f c)
 
void div_inplace (vec4f c)
 
vec4f negate ()
 
bool eq (vec4f other)
 
bool neq (vec4f other)
 
vec4f mul_const (float other)
 
vec4f sub_const (float other)
 
vec4f add_const (float other)
 
vec4f 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 (vec4f other)
 
float normalize ()
 
float length ()
 
float length_squared ()
 
float distance (vec4f other)
 
float distance_squared (vec4f other)
 
string toString ()
 

Public Attributes

float x
 
float y
 
float z
 

Constructor & Destructor Documentation

AltusUnified::vec4f::vec4f ( float  ,
float  ,
float  ,
float   
)

Member Function Documentation

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

Member Data Documentation

float AltusUnified::vec4f::x
float AltusUnified::vec4f::y
float AltusUnified::vec4f::z