Name

vector — 4次元のベクトルをあらわすクラス

Description

Description of vector

Operator

+(加算演算子)

vector operator+( vector arg1 , vector arg2 );

**(冪乗演算子)

vector operator**( vector arg1 , vector arg2 );

/(除算演算子)

vector operator/( vector arg1 , integer arg2 );

/(除算演算子)

vector operator/( vector arg1 , real arg2 );

==(等しい)

boolean operator==( vector arg1 , vector arg2 );

-(単項マイナス演算子)

vector operator-( vector arg );

!=(等しくない)

boolean operator!=( vector arg1 , vector arg2 );

*(乗算演算子)

real operator*( vector arg1 , vector arg2 );

*(乗算演算子)

vector operator*( integer arg1 , vector arg2 );

*(乗算演算子)

vector operator*( vector arg1 , integer arg2 );

*(乗算演算子)

vector operator*( real arg1 , vector arg2 );

*(乗算演算子)

vector operator*( vector arg1 , real arg2 );

-(減算演算子)

vector operator-( vector arg1 , vector arg2 );

Method

addbri

vector addbri( real arg );

addhue

vector addhue( real arg );

addsat

vector addsat( real arg );

len

real len();

norm

real norm();

transp

vector transp( real arg );

w

real w();

w

void w( real arg );

x

real x();

x

void x( real arg );

y

real y();

y

void y( real arg );

z

real z();

z

void z( real arg );

Class method

angle

real angle( vector arg1 , vector arg2 , vector arg3 );

dihedral

real dihedral( vector arg1 , vector arg2 , vector arg3 , vector arg4 );

hsb

vector hsb( real arg1 , real arg2 , real arg3 );

length

real length( vector arg1 , vector arg2 );

rgb

vector rgb( real arg1 , real arg2 , real arg3 );

vector

vector vector( real arg1 , real arg2 , real arg3 );

vector

vector vector( real arg1 , real arg2 , real arg3 , real arg4 );