| Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home | 
Public Member Functions | |
| vec2f (float, float) | |
| void | set (vec2f) | 
| vec2f | mul (vec2f other) | 
| vec2f | sub (vec2f other) | 
| vec2f | add (vec2f other) | 
| vec2f | div (vec2f other) | 
| void | mul_inplace (vec2f c) | 
| void | sub_inplace (vec2f c) | 
| void | add_inplace (vec2f c) | 
| void | div_inplace (vec2f c) | 
| vec2f | negate () | 
| bool | eq (vec2f other) | 
| bool | neq (vec2f other) | 
| vec2f | mul_const (float other) | 
| vec2f | sub_const (float other) | 
| vec2f | add_const (float other) | 
| vec2f | 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 (vec2f other) | 
| float | normalize () | 
| float | length () | 
| float | length_squared () | 
| float | distance (vec2f other) | 
| float | distance_squared (vec2f other) | 
| string | toString () | 
Public Attributes | |
| float | x | 
| float | y | 
| AltusUnified::vec2f::vec2f | ( | float | , | 
| float | |||
| ) | 
| vec2f AltusUnified::vec2f::add_const | ( | float | other | ) | 
| void AltusUnified::vec2f::add_const_inplace | ( | float | other | ) | 
| void AltusUnified::vec2f::add_inplace | ( | vec2f | c | ) | 
| float AltusUnified::vec2f::distance | ( | vec2f | other | ) | 
| float AltusUnified::vec2f::distance_squared | ( | vec2f | other | ) | 
| vec2f AltusUnified::vec2f::div_const | ( | float | other | ) | 
| void AltusUnified::vec2f::div_const_inplace | ( | float | other | ) | 
| void AltusUnified::vec2f::div_inplace | ( | vec2f | c | ) | 
| float AltusUnified::vec2f::dot | ( | vec2f | other | ) | 
| bool AltusUnified::vec2f::eq | ( | vec2f | other | ) | 
| float AltusUnified::vec2f::length | ( | ) | 
| float AltusUnified::vec2f::length_squared | ( | ) | 
| vec2f AltusUnified::vec2f::mul_const | ( | float | other | ) | 
| void AltusUnified::vec2f::mul_const_inplace | ( | float | other | ) | 
| void AltusUnified::vec2f::mul_inplace | ( | vec2f | c | ) | 
| vec2f AltusUnified::vec2f::negate | ( | ) | 
| bool AltusUnified::vec2f::neq | ( | vec2f | other | ) | 
| float AltusUnified::vec2f::normalize | ( | ) | 
| void AltusUnified::vec2f::set | ( | vec2f | ) | 
| vec2f AltusUnified::vec2f::sub_const | ( | float | other | ) | 
| void AltusUnified::vec2f::sub_const_inplace | ( | float | other | ) | 
| void AltusUnified::vec2f::sub_inplace | ( | vec2f | c | ) | 
| string AltusUnified::vec2f::toString | ( | ) | 
| float AltusUnified::vec2f::x | 
| float AltusUnified::vec2f::y |