C# Class Relative.Vec

Mostra file Open project: Arhirat/Relative Class Usage Examples

Public Properties

Property Type Description
mX double
mY double

Public Methods

Method Description
Vec ( double x, double y ) : System
dot ( Vec vec ) : double
lenghtSquare ( ) : double
lightCorect ( ) : void
minus ( Vec vec ) : Vec
mult ( double a ) : Vec
perp ( ) : Vec
plus ( Vec vec ) : Vec
scale ( Vec vec ) : Vec
scaleBack ( Vec vec ) : Vec

Method Details

Vec() public method

public Vec ( double x, double y ) : System
x double
y double
return System

dot() public method

public dot ( Vec vec ) : double
vec Vec
return double

lenghtSquare() public method

public lenghtSquare ( ) : double
return double

lightCorect() public method

public lightCorect ( ) : void
return void

minus() public method

public minus ( Vec vec ) : Vec
vec Vec
return Vec

mult() public method

public mult ( double a ) : Vec
a double
return Vec

perp() public method

public perp ( ) : Vec
return Vec

plus() public method

public plus ( Vec vec ) : Vec
vec Vec
return Vec

scale() public method

public scale ( Vec vec ) : Vec
vec Vec
return Vec

scaleBack() public method

public scaleBack ( Vec vec ) : Vec
vec Vec
return Vec

Property Details

mX public_oe property

public double mX
return double

mY public_oe property

public double mY
return double