Inheritance Graph

graph BT
	Vec2
	Vec2 --> Object
	click Vec2 "escript_type_Geometry_Vec2"
	click Object "escript_type_Object"

Functions

   
*(p0) [ESMF] E_Vec2 E_Vec2.*(number)
*=(p0) [ESMF] E_Vec2 E_Vec2.*=(Number)
+(p0) [ESMF] E_Vec2 E_Vec2.+(E_Vec2)
+=(p0) [ESMF] E_Vec2 E_Vec2.+=(E_Vec2)
-(p0) [ESMF] E_Vec2 E_Vec2.-(E_Vec2)
-=(p0) [ESMF] E_Vec2 E_Vec2.-=(E_Vec2)
/(p0) [ESMF] E_Vec2 E_Vec2./(number)
/=(p0) [ESMF] E_Vec2 E_Vec2./=(Number)
_-_pre() [ESMF] E_Vec2 -E_Vec2()
_constructor([p0 [, p1]]) [ESMF] Vec2 new Vec2([ x,y | Vec2])
_get(p0) [ESMF] Number Vec2[key]
_set(p0, p1) [ESMF] thisObj Vec2[key] = Number
distance(p0) [ESMF] Number E_Vec2.distance(E_Vec2)
dot(p0) [ESMF] Number E_Vec2.dot(E_Vec2)
getX() [ESMF] number E_Vec2.getX()
getY() [ESMF] number E_Vec2.getY()
isZero() [ESMF] bool E_Vec2.isZero()
length() [ESMF] number E_Vec2.length()
normalize() [ESMF] self E_Vec2.normalize()
setValue([p0 [, p1]]) [ESMF] self E_Vec2.setValue( Number,Number | Array | Vec2)
setX(p0) [ESMF] self E_Vec2.setX(number)
setY(p0) [ESMF] self E_Vec2.setY(number)
toArray() [ESMF] Array E_Vec2.toArray()
x([p0]) [ESMF] Number|self E_Vec2.x([value])
y([p0]) [ESMF] Number|self E_Vec2.y([value])