C# Class touchvg.core.Matrix2d

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
Matrix2d ( ) : System
Matrix2d ( Matrix2d src ) : System
Matrix2d ( Vector2d e0, Vector2d e1, Point2d origin ) : System
Matrix2d ( float _m11, float _m12, float _m21, float _m22, float _dx, float _dy ) : System
TransformPoints ( int count, Point2d points ) : void
TransformVectors ( int count, Vector2d vectors ) : void
angle ( ) : float
coordSystem ( Point2d origin, float scaleX ) : Matrix2d
coordSystem ( Point2d origin, float scaleX, float scaleY ) : Matrix2d
coordSystem ( Point2d origin, float scaleX, float scaleY, float angle ) : Matrix2d
coordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
det ( ) : float
getCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : void
hasMirror ( Vector2d reflex ) : bool
inverse ( ) : Matrix2d
invert ( ) : bool
isEqualTo ( Matrix2d mat ) : bool
isEqualTo ( Matrix2d mat, Tol tol ) : bool
isIdentity ( ) : bool
isInvertible ( ) : bool
isOrtho ( ) : bool
kIdentity ( ) : Matrix2d
mirroring ( ) : Matrix2d
mirroring ( Point2d pnt ) : Matrix2d
mirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
postMultBy ( Matrix2d rightSide ) : Matrix2d
preMultBy ( Matrix2d leftSide ) : Matrix2d
rotation ( float angle ) : Matrix2d
rotation ( float angle, Point2d center ) : Matrix2d
scale ( ) : float
scaleX ( ) : float
scaleY ( ) : float
scaling ( float scale ) : Matrix2d
scaling ( float scale, Point2d center ) : Matrix2d
scaling ( float scaleX, float scaleY ) : Matrix2d
scaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
set ( float _m11, float _m12, float _m21, float _m22, float _dx, float _dy ) : Matrix2d
setCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
setToIdentity ( ) : Matrix2d
setToMirroring ( ) : Matrix2d
setToMirroring ( Point2d pnt ) : Matrix2d
setToMirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
setToProduct ( Matrix2d m1, Matrix2d m2 ) : Matrix2d
setToRotation ( float angle ) : Matrix2d
setToRotation ( float angle, Point2d center ) : Matrix2d
setToScaling ( float scale ) : Matrix2d
setToScaling ( float scale, Point2d center ) : Matrix2d
setToScaling ( float scaleX, float scaleY ) : Matrix2d
setToScaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
setToShearing ( float sx, float sy ) : Matrix2d
setToShearing ( float sx, float sy, Point2d pnt ) : Matrix2d
setToTranslation ( Vector2d vec ) : Matrix2d
shearing ( float sx, float sy ) : Matrix2d
shearing ( float sx, float sy, Point2d pnt ) : Matrix2d
translation ( Vector2d vec ) : Matrix2d

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Matrix2d() public method

public Matrix2d ( ) : System
return System

Matrix2d() public method

public Matrix2d ( Matrix2d src ) : System
src Matrix2d
return System

Matrix2d() public method

public Matrix2d ( Vector2d e0, Vector2d e1, Point2d origin ) : System
e0 Vector2d
e1 Vector2d
origin Point2d
return System

Matrix2d() public method

public Matrix2d ( float _m11, float _m12, float _m21, float _m22, float _dx, float _dy ) : System
_m11 float
_m12 float
_m21 float
_m22 float
_dx float
_dy float
return System

TransformPoints() public method

public TransformPoints ( int count, Point2d points ) : void
count int
points Point2d
return void

TransformVectors() public method

public TransformVectors ( int count, Vector2d vectors ) : void
count int
vectors Vector2d
return void

angle() public method

public angle ( ) : float
return float

coordSystem() public static method

public static coordSystem ( Point2d origin, float scaleX ) : Matrix2d
origin Point2d
scaleX float
return Matrix2d

coordSystem() public static method

public static coordSystem ( Point2d origin, float scaleX, float scaleY ) : Matrix2d
origin Point2d
scaleX float
scaleY float
return Matrix2d

coordSystem() public static method

public static coordSystem ( Point2d origin, float scaleX, float scaleY, float angle ) : Matrix2d
origin Point2d
scaleX float
scaleY float
angle float
return Matrix2d

coordSystem() public static method

public static coordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
e0 Vector2d
e1 Vector2d
origin Point2d
return Matrix2d

det() public method

public det ( ) : float
return float

getCoordSystem() public method

public getCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : void
e0 Vector2d
e1 Vector2d
origin Point2d
return void

hasMirror() public method

public hasMirror ( Vector2d reflex ) : bool
reflex Vector2d
return bool

inverse() public method

public inverse ( ) : Matrix2d
return Matrix2d

invert() public method

public invert ( ) : bool
return bool

isEqualTo() public method

public isEqualTo ( Matrix2d mat ) : bool
mat Matrix2d
return bool

isEqualTo() public method

public isEqualTo ( Matrix2d mat, Tol tol ) : bool
mat Matrix2d
tol Tol
return bool

isIdentity() public method

public isIdentity ( ) : bool
return bool

isInvertible() public method

public isInvertible ( ) : bool
return bool

isOrtho() public method

public isOrtho ( ) : bool
return bool

kIdentity() public static method

public static kIdentity ( ) : Matrix2d
return Matrix2d

mirroring() public static method

public static mirroring ( ) : Matrix2d
return Matrix2d

mirroring() public static method

public static mirroring ( Point2d pnt ) : Matrix2d
pnt Point2d
return Matrix2d

mirroring() public static method

public static mirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
pnt Point2d
dir Vector2d
return Matrix2d

postMultBy() public method

public postMultBy ( Matrix2d rightSide ) : Matrix2d
rightSide Matrix2d
return Matrix2d

preMultBy() public method

public preMultBy ( Matrix2d leftSide ) : Matrix2d
leftSide Matrix2d
return Matrix2d

rotation() public static method

public static rotation ( float angle ) : Matrix2d
angle float
return Matrix2d

rotation() public static method

public static rotation ( float angle, Point2d center ) : Matrix2d
angle float
center Point2d
return Matrix2d

scale() public method

public scale ( ) : float
return float

scaleX() public method

public scaleX ( ) : float
return float

scaleY() public method

public scaleY ( ) : float
return float

scaling() public static method

public static scaling ( float scale ) : Matrix2d
scale float
return Matrix2d

scaling() public static method

public static scaling ( float scale, Point2d center ) : Matrix2d
scale float
center Point2d
return Matrix2d

scaling() public static method

public static scaling ( float scaleX, float scaleY ) : Matrix2d
scaleX float
scaleY float
return Matrix2d

scaling() public static method

public static scaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
scaleX float
scaleY float
center Point2d
return Matrix2d

set() public method

public set ( float _m11, float _m12, float _m21, float _m22, float _dx, float _dy ) : Matrix2d
_m11 float
_m12 float
_m21 float
_m22 float
_dx float
_dy float
return Matrix2d

setCoordSystem() public method

public setCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
e0 Vector2d
e1 Vector2d
origin Point2d
return Matrix2d

setToIdentity() public method

public setToIdentity ( ) : Matrix2d
return Matrix2d

setToMirroring() public method

public setToMirroring ( ) : Matrix2d
return Matrix2d

setToMirroring() public method

public setToMirroring ( Point2d pnt ) : Matrix2d
pnt Point2d
return Matrix2d

setToMirroring() public method

public setToMirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
pnt Point2d
dir Vector2d
return Matrix2d

setToProduct() public method

public setToProduct ( Matrix2d m1, Matrix2d m2 ) : Matrix2d
m1 Matrix2d
m2 Matrix2d
return Matrix2d

setToRotation() public method

public setToRotation ( float angle ) : Matrix2d
angle float
return Matrix2d

setToRotation() public method

public setToRotation ( float angle, Point2d center ) : Matrix2d
angle float
center Point2d
return Matrix2d

setToScaling() public method

public setToScaling ( float scale ) : Matrix2d
scale float
return Matrix2d

setToScaling() public method

public setToScaling ( float scale, Point2d center ) : Matrix2d
scale float
center Point2d
return Matrix2d

setToScaling() public method

public setToScaling ( float scaleX, float scaleY ) : Matrix2d
scaleX float
scaleY float
return Matrix2d

setToScaling() public method

public setToScaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
scaleX float
scaleY float
center Point2d
return Matrix2d

setToShearing() public method

public setToShearing ( float sx, float sy ) : Matrix2d
sx float
sy float
return Matrix2d

setToShearing() public method

public setToShearing ( float sx, float sy, Point2d pnt ) : Matrix2d
sx float
sy float
pnt Point2d
return Matrix2d

setToTranslation() public method

public setToTranslation ( Vector2d vec ) : Matrix2d
vec Vector2d
return Matrix2d

shearing() public static method

public static shearing ( float sx, float sy ) : Matrix2d
sx float
sy float
return Matrix2d

shearing() public static method

public static shearing ( float sx, float sy, Point2d pnt ) : Matrix2d
sx float
sy float
pnt Point2d
return Matrix2d

translation() public static method

public static translation ( Vector2d vec ) : Matrix2d
vec Vector2d
return Matrix2d

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool