Method | Defined By | ||
---|---|---|---|
V2(_x:Number = 0, _y:Number = 0) | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
angle():Number | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
V2 | |||
V2 | |||
[static] | V2 | ||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
distanceSquared(b:V2):Number | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
V2 | |||
V2 | |||
[static] | V2 | ||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
length():Number | V2 | ||
lengthSquared():Number | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
V2 | |||
[static] | V2 | ||
toP():Point | V2 | ||
toString():String | V2 | ||
V2 | |||
V2 | |||
V2 |
x | property |
public var x:Number
y | property |
public var y:Number
V2 | () | Constructor |
public function V2(_x:Number = 0, _y:Number = 0)
_x:Number (default = 0 )
| |
_y:Number (default = 0 )
|
abs | () | method |
abs | () | method |
add | () | method |
add | () | method |
angle | () | method |
public function angle():Number
ReturnsNumber |
ccw90 | () | method |
ccw90 | () | method |
clone | () | method |
copy | () | method |
cross | () | method |
crossNV | () | method |
crossVN | () | method |
cw90 | () | method |
cw90 | () | method |
distance | () | method |
distanceSquared | () | method |
divide | () | method |
divide | () | method |
divideN | () | method |
divideN | () | method |
dot | () | method |
equals | () | method |
flip | () | method |
flip | () | method |
fromP | () | method |
invert | () | method |
invert | () | method |
length | () | method |
public function length():Number
ReturnsNumber |
lengthSquared | () | method |
public function lengthSquared():Number
ReturnsNumber |
max | () | method |
max | () | method |
min | () | method |
min | () | method |
multiply | () | method |
multiply | () | method |
multiplyN | () | method |
multiplyN | () | method |
normalize | () | method |
normalize | () | method |
public static function normalize(a:V2, l:Number = 1):V2
Parameters
a:V2 | |
l:Number (default = 1 )
|
V2 |
perpDot | () | method |
rotate | () | method |
rotate | () | method |
sign | () | method |
sign | () | method |
subtract | () | method |
subtract | () | method |
toP | () | method |
public function toP():Point
ReturnsPoint |
toString | () | method |
public function toString():String
ReturnsString |
winding | () | method |
xy | () | method |
zero | () | method |