nuke.nukemath.Vector2

class nuke.nukemath.Vector2((object)arg1) None :

Bases: Boost.Python.instance

C++ signature :

void __init__(_object*)

__init__( (object)arg1, (float)arg2, (float)arg3) -> None :

C++ signature :

void __init__(_object*,double,double)

__init__( (object)arg1, (Vector2)arg2) -> None :

C++ signature :

void __init__(_object*,DD::Image::Vector2)

Methods

cross

C++ signature :

distanceBetween

C++ signature :

distanceSquared

C++ signature :

dot

C++ signature :

length

C++ signature :

lengthSquared

C++ signature :

negate

C++ signature :

normalize

C++ signature :

set

C++ signature :

Attributes

x

y

__add__((Vector2)arg1, (Vector2)arg2) object :
C++ signature :

_object* __add__(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

__mul__((Vector2)arg1, (float)arg2) object :
C++ signature :

_object* __mul__(DD::Image::Vector2 {lvalue},double)

__mul__( (Vector2)arg1, (Vector2)arg2) -> object :

C++ signature :

_object* __mul__(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

__mul__( (Vector2)arg1, (float)arg2) -> object :

C++ signature :

_object* __mul__(DD::Image::Vector2 {lvalue},double)

cross((Vector2)arg1, (Vector2)arg2) float :
C++ signature :

float cross(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

distanceBetween((Vector2)arg1, (Vector2)arg2) float :
C++ signature :

float distanceBetween(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

distanceSquared((Vector2)arg1, (Vector2)arg2) float :
C++ signature :

float distanceSquared(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

dot((Vector2)arg1, (Vector2)arg2) float :
C++ signature :

float dot(DD::Image::Vector2 {lvalue},DD::Image::Vector2)

length((Vector2)arg1) float :
C++ signature :

float length(DD::Image::Vector2 {lvalue})

lengthSquared((Vector2)arg1) float :
C++ signature :

float lengthSquared(DD::Image::Vector2 {lvalue})

negate((Vector2)arg1) None :
C++ signature :

void negate(DD::Image::Vector2 {lvalue})

normalize((Vector2)arg1) float :
C++ signature :

float normalize(DD::Image::Vector2 {lvalue})

set((Vector2)arg1, (float)arg2) None :
C++ signature :

void set(DD::Image::Vector2*,float)

set( (Vector2)arg1, (float)arg2, (float)arg3) -> None :

C++ signature :

void set(DD::Image::Vector2*,float,float)

set( (Vector2)arg1, (Vector2)arg2) -> None :

C++ signature :

void set(DD::Image::Vector2*,DD::Image::Vector2)