C# Class touchvg.core.Vector2d

Inheritance: global::System.IDisposable
Show file Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
Vector2d ( ) : System
Vector2d ( Vector2d src ) : System
Vector2d ( float xx, float yy ) : System
add ( Vector2d v ) : Vector2d
angle ( ) : float
angle2 ( ) : float
angleTo ( Vector2d v ) : float
angleTo2 ( Vector2d v ) : float
crossProduct ( Vector2d v ) : float
distanceToVector ( Vector2d xAxis ) : float
dotProduct ( Vector2d v ) : float
isCodirectionalTo ( Vector2d vec ) : bool
isCodirectionalTo ( Vector2d vec, Tol tol ) : bool
isEqualTo ( Vector2d v ) : bool
isEqualTo ( Vector2d v, Tol tol ) : bool
isLeftOf ( Vector2d vec ) : bool
isOppositeTo ( Vector2d vec ) : bool
isOppositeTo ( Vector2d vec, Tol tol ) : bool
isParallelTo ( Vector2d vec ) : bool
isParallelTo ( Vector2d vec, Tol tol ) : bool
isPerpendicularTo ( Vector2d vec ) : bool
isPerpendicularTo ( Vector2d vec, Tol tol ) : bool
isRightOf ( Vector2d vec ) : bool
isUnitVector ( ) : bool
isUnitVector ( Tol tol ) : bool
isZeroVector ( ) : bool
isZeroVector ( Tol tol ) : bool
kIdentity ( ) : Vector2d
kXAxis ( ) : Vector2d
kYAxis ( ) : Vector2d
length ( ) : float
lengthSqrd ( ) : float
negate ( ) : Vector2d
normalize ( ) : bool
normalize ( Tol tol ) : bool
perpVector ( ) : Vector2d
projectResolveVector ( Vector2d xAxis, Vector2d proj, Vector2d perp ) : float
projectScaleToVector ( Vector2d xAxis ) : float
resolveVector ( Vector2d uAxis, Vector2d vAxis ) : bool
resolveVector ( Vector2d uAxis, Vector2d vAxis, Vector2d uv ) : bool
scaleBy ( float s ) : Vector2d
scaleBy ( float sx, float sy ) : Vector2d
set ( float xx, float yy ) : Vector2d
setAngleLength ( float angle, float len ) : Vector2d
setLength ( float len ) : Vector2d
subtract ( Vector2d v ) : Vector2d
transform ( Matrix2d m ) : Vector2d
unitVector ( ) : Vector2d

Private Methods

Method Description
Vector2d ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Vector2d obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Vector2d() public method

public Vector2d ( ) : System
return System

Vector2d() public method

public Vector2d ( Vector2d src ) : System
src Vector2d
return System

Vector2d() public method

public Vector2d ( float xx, float yy ) : System
xx float
yy float
return System

add() public method

public add ( Vector2d v ) : Vector2d
v Vector2d
return Vector2d

angle() public method

public angle ( ) : float
return float

angle2() public method

public angle2 ( ) : float
return float

angleTo() public method

public angleTo ( Vector2d v ) : float
v Vector2d
return float

angleTo2() public method

public angleTo2 ( Vector2d v ) : float
v Vector2d
return float

crossProduct() public method

public crossProduct ( Vector2d v ) : float
v Vector2d
return float

distanceToVector() public method

public distanceToVector ( Vector2d xAxis ) : float
xAxis Vector2d
return float

dotProduct() public method

public dotProduct ( Vector2d v ) : float
v Vector2d
return float

isCodirectionalTo() public method

public isCodirectionalTo ( Vector2d vec ) : bool
vec Vector2d
return bool

isCodirectionalTo() public method

public isCodirectionalTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
return bool

isEqualTo() public method

public isEqualTo ( Vector2d v ) : bool
v Vector2d
return bool

isEqualTo() public method

public isEqualTo ( Vector2d v, Tol tol ) : bool
v Vector2d
tol Tol
return bool

isLeftOf() public method

public isLeftOf ( Vector2d vec ) : bool
vec Vector2d
return bool

isOppositeTo() public method

public isOppositeTo ( Vector2d vec ) : bool
vec Vector2d
return bool

isOppositeTo() public method

public isOppositeTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
return bool

isParallelTo() public method

public isParallelTo ( Vector2d vec ) : bool
vec Vector2d
return bool

isParallelTo() public method

public isParallelTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
return bool

isPerpendicularTo() public method

public isPerpendicularTo ( Vector2d vec ) : bool
vec Vector2d
return bool

isPerpendicularTo() public method

public isPerpendicularTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
return bool

isRightOf() public method

public isRightOf ( Vector2d vec ) : bool
vec Vector2d
return bool

isUnitVector() public method

public isUnitVector ( ) : bool
return bool

isUnitVector() public method

public isUnitVector ( Tol tol ) : bool
tol Tol
return bool

isZeroVector() public method

public isZeroVector ( ) : bool
return bool

isZeroVector() public method

public isZeroVector ( Tol tol ) : bool
tol Tol
return bool

kIdentity() public static method

public static kIdentity ( ) : Vector2d
return Vector2d

kXAxis() public static method

public static kXAxis ( ) : Vector2d
return Vector2d

kYAxis() public static method

public static kYAxis ( ) : Vector2d
return Vector2d

length() public method

public length ( ) : float
return float

lengthSqrd() public method

public lengthSqrd ( ) : float
return float

negate() public method

public negate ( ) : Vector2d
return Vector2d

normalize() public method

public normalize ( ) : bool
return bool

normalize() public method

public normalize ( Tol tol ) : bool
tol Tol
return bool

perpVector() public method

public perpVector ( ) : Vector2d
return Vector2d

projectResolveVector() public method

public projectResolveVector ( Vector2d xAxis, Vector2d proj, Vector2d perp ) : float
xAxis Vector2d
proj Vector2d
perp Vector2d
return float

projectScaleToVector() public method

public projectScaleToVector ( Vector2d xAxis ) : float
xAxis Vector2d
return float

resolveVector() public method

public resolveVector ( Vector2d uAxis, Vector2d vAxis ) : bool
uAxis Vector2d
vAxis Vector2d
return bool

resolveVector() public method

public resolveVector ( Vector2d uAxis, Vector2d vAxis, Vector2d uv ) : bool
uAxis Vector2d
vAxis Vector2d
uv Vector2d
return bool

scaleBy() public method

public scaleBy ( float s ) : Vector2d
s float
return Vector2d

scaleBy() public method

public scaleBy ( float sx, float sy ) : Vector2d
sx float
sy float
return Vector2d

set() public method

public set ( float xx, float yy ) : Vector2d
xx float
yy float
return Vector2d

setAngleLength() public method

public setAngleLength ( float angle, float len ) : Vector2d
angle float
len float
return Vector2d

setLength() public method

public setLength ( float len ) : Vector2d
len float
return Vector2d

subtract() public method

public subtract ( Vector2d v ) : Vector2d
v Vector2d
return Vector2d

transform() public method

public transform ( Matrix2d m ) : Vector2d
m Matrix2d
return Vector2d

unitVector() public method

public unitVector ( ) : Vector2d
return Vector2d

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool