C# Class touchvg.core.Vector2d

Inheritance: global::System.IDisposable
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode 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

Méthode Description
Vector2d ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Vector2d obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Vector2d() public méthode

public Vector2d ( ) : System
Résultat System

Vector2d() public méthode

public Vector2d ( Vector2d src ) : System
src Vector2d
Résultat System

Vector2d() public méthode

public Vector2d ( float xx, float yy ) : System
xx float
yy float
Résultat System

add() public méthode

public add ( Vector2d v ) : Vector2d
v Vector2d
Résultat Vector2d

angle() public méthode

public angle ( ) : float
Résultat float

angle2() public méthode

public angle2 ( ) : float
Résultat float

angleTo() public méthode

public angleTo ( Vector2d v ) : float
v Vector2d
Résultat float

angleTo2() public méthode

public angleTo2 ( Vector2d v ) : float
v Vector2d
Résultat float

crossProduct() public méthode

public crossProduct ( Vector2d v ) : float
v Vector2d
Résultat float

distanceToVector() public méthode

public distanceToVector ( Vector2d xAxis ) : float
xAxis Vector2d
Résultat float

dotProduct() public méthode

public dotProduct ( Vector2d v ) : float
v Vector2d
Résultat float

isCodirectionalTo() public méthode

public isCodirectionalTo ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isCodirectionalTo() public méthode

public isCodirectionalTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
Résultat bool

isEqualTo() public méthode

public isEqualTo ( Vector2d v ) : bool
v Vector2d
Résultat bool

isEqualTo() public méthode

public isEqualTo ( Vector2d v, Tol tol ) : bool
v Vector2d
tol Tol
Résultat bool

isLeftOf() public méthode

public isLeftOf ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isOppositeTo() public méthode

public isOppositeTo ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isOppositeTo() public méthode

public isOppositeTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
Résultat bool

isParallelTo() public méthode

public isParallelTo ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isParallelTo() public méthode

public isParallelTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
Résultat bool

isPerpendicularTo() public méthode

public isPerpendicularTo ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isPerpendicularTo() public méthode

public isPerpendicularTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
Résultat bool

isRightOf() public méthode

public isRightOf ( Vector2d vec ) : bool
vec Vector2d
Résultat bool

isUnitVector() public méthode

public isUnitVector ( ) : bool
Résultat bool

isUnitVector() public méthode

public isUnitVector ( Tol tol ) : bool
tol Tol
Résultat bool

isZeroVector() public méthode

public isZeroVector ( ) : bool
Résultat bool

isZeroVector() public méthode

public isZeroVector ( Tol tol ) : bool
tol Tol
Résultat bool

kIdentity() public static méthode

public static kIdentity ( ) : Vector2d
Résultat Vector2d

kXAxis() public static méthode

public static kXAxis ( ) : Vector2d
Résultat Vector2d

kYAxis() public static méthode

public static kYAxis ( ) : Vector2d
Résultat Vector2d

length() public méthode

public length ( ) : float
Résultat float

lengthSqrd() public méthode

public lengthSqrd ( ) : float
Résultat float

negate() public méthode

public negate ( ) : Vector2d
Résultat Vector2d

normalize() public méthode

public normalize ( ) : bool
Résultat bool

normalize() public méthode

public normalize ( Tol tol ) : bool
tol Tol
Résultat bool

perpVector() public méthode

public perpVector ( ) : Vector2d
Résultat Vector2d

projectResolveVector() public méthode

public projectResolveVector ( Vector2d xAxis, Vector2d proj, Vector2d perp ) : float
xAxis Vector2d
proj Vector2d
perp Vector2d
Résultat float

projectScaleToVector() public méthode

public projectScaleToVector ( Vector2d xAxis ) : float
xAxis Vector2d
Résultat float

resolveVector() public méthode

public resolveVector ( Vector2d uAxis, Vector2d vAxis ) : bool
uAxis Vector2d
vAxis Vector2d
Résultat bool

resolveVector() public méthode

public resolveVector ( Vector2d uAxis, Vector2d vAxis, Vector2d uv ) : bool
uAxis Vector2d
vAxis Vector2d
uv Vector2d
Résultat bool

scaleBy() public méthode

public scaleBy ( float s ) : Vector2d
s float
Résultat Vector2d

scaleBy() public méthode

public scaleBy ( float sx, float sy ) : Vector2d
sx float
sy float
Résultat Vector2d

set() public méthode

public set ( float xx, float yy ) : Vector2d
xx float
yy float
Résultat Vector2d

setAngleLength() public méthode

public setAngleLength ( float angle, float len ) : Vector2d
angle float
len float
Résultat Vector2d

setLength() public méthode

public setLength ( float len ) : Vector2d
len float
Résultat Vector2d

subtract() public méthode

public subtract ( Vector2d v ) : Vector2d
v Vector2d
Résultat Vector2d

transform() public méthode

public transform ( Matrix2d m ) : Vector2d
m Matrix2d
Résultat Vector2d

unitVector() public méthode

public unitVector ( ) : Vector2d
Résultat Vector2d

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool