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

Public Member Functions

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

Public Attributes

int x
 
int y
 

Constructor & Destructor Documentation

AltusUnified::vec2i::vec2i ( int  ,
int   
)

Member Function Documentation

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

Member Data Documentation

int AltusUnified::vec2i::x
int AltusUnified::vec2i::y