C# Class touchvg.core.Matrix2d

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
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

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Matrix2d() public méthode

public Matrix2d ( ) : System
Résultat System

Matrix2d() public méthode

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

Matrix2d() public méthode

public Matrix2d ( Vector2d e0, Vector2d e1, Point2d origin ) : System
e0 Vector2d
e1 Vector2d
origin Point2d
Résultat System

Matrix2d() public méthode

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
Résultat System

TransformPoints() public méthode

public TransformPoints ( int count, Point2d points ) : void
count int
points Point2d
Résultat void

TransformVectors() public méthode

public TransformVectors ( int count, Vector2d vectors ) : void
count int
vectors Vector2d
Résultat void

angle() public méthode

public angle ( ) : float
Résultat float

coordSystem() public static méthode

public static coordSystem ( Point2d origin, float scaleX ) : Matrix2d
origin Point2d
scaleX float
Résultat Matrix2d

coordSystem() public static méthode

public static coordSystem ( Point2d origin, float scaleX, float scaleY ) : Matrix2d
origin Point2d
scaleX float
scaleY float
Résultat Matrix2d

coordSystem() public static méthode

public static coordSystem ( Point2d origin, float scaleX, float scaleY, float angle ) : Matrix2d
origin Point2d
scaleX float
scaleY float
angle float
Résultat Matrix2d

coordSystem() public static méthode

public static coordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
e0 Vector2d
e1 Vector2d
origin Point2d
Résultat Matrix2d

det() public méthode

public det ( ) : float
Résultat float

getCoordSystem() public méthode

public getCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : void
e0 Vector2d
e1 Vector2d
origin Point2d
Résultat void

hasMirror() public méthode

public hasMirror ( Vector2d reflex ) : bool
reflex Vector2d
Résultat bool

inverse() public méthode

public inverse ( ) : Matrix2d
Résultat Matrix2d

invert() public méthode

public invert ( ) : bool
Résultat bool

isEqualTo() public méthode

public isEqualTo ( Matrix2d mat ) : bool
mat Matrix2d
Résultat bool

isEqualTo() public méthode

public isEqualTo ( Matrix2d mat, Tol tol ) : bool
mat Matrix2d
tol Tol
Résultat bool

isIdentity() public méthode

public isIdentity ( ) : bool
Résultat bool

isInvertible() public méthode

public isInvertible ( ) : bool
Résultat bool

isOrtho() public méthode

public isOrtho ( ) : bool
Résultat bool

kIdentity() public static méthode

public static kIdentity ( ) : Matrix2d
Résultat Matrix2d

mirroring() public static méthode

public static mirroring ( ) : Matrix2d
Résultat Matrix2d

mirroring() public static méthode

public static mirroring ( Point2d pnt ) : Matrix2d
pnt Point2d
Résultat Matrix2d

mirroring() public static méthode

public static mirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
pnt Point2d
dir Vector2d
Résultat Matrix2d

postMultBy() public méthode

public postMultBy ( Matrix2d rightSide ) : Matrix2d
rightSide Matrix2d
Résultat Matrix2d

preMultBy() public méthode

public preMultBy ( Matrix2d leftSide ) : Matrix2d
leftSide Matrix2d
Résultat Matrix2d

rotation() public static méthode

public static rotation ( float angle ) : Matrix2d
angle float
Résultat Matrix2d

rotation() public static méthode

public static rotation ( float angle, Point2d center ) : Matrix2d
angle float
center Point2d
Résultat Matrix2d

scale() public méthode

public scale ( ) : float
Résultat float

scaleX() public méthode

public scaleX ( ) : float
Résultat float

scaleY() public méthode

public scaleY ( ) : float
Résultat float

scaling() public static méthode

public static scaling ( float scale ) : Matrix2d
scale float
Résultat Matrix2d

scaling() public static méthode

public static scaling ( float scale, Point2d center ) : Matrix2d
scale float
center Point2d
Résultat Matrix2d

scaling() public static méthode

public static scaling ( float scaleX, float scaleY ) : Matrix2d
scaleX float
scaleY float
Résultat Matrix2d

scaling() public static méthode

public static scaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
scaleX float
scaleY float
center Point2d
Résultat Matrix2d

set() public méthode

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
Résultat Matrix2d

setCoordSystem() public méthode

public setCoordSystem ( Vector2d e0, Vector2d e1, Point2d origin ) : Matrix2d
e0 Vector2d
e1 Vector2d
origin Point2d
Résultat Matrix2d

setToIdentity() public méthode

public setToIdentity ( ) : Matrix2d
Résultat Matrix2d

setToMirroring() public méthode

public setToMirroring ( ) : Matrix2d
Résultat Matrix2d

setToMirroring() public méthode

public setToMirroring ( Point2d pnt ) : Matrix2d
pnt Point2d
Résultat Matrix2d

setToMirroring() public méthode

public setToMirroring ( Point2d pnt, Vector2d dir ) : Matrix2d
pnt Point2d
dir Vector2d
Résultat Matrix2d

setToProduct() public méthode

public setToProduct ( Matrix2d m1, Matrix2d m2 ) : Matrix2d
m1 Matrix2d
m2 Matrix2d
Résultat Matrix2d

setToRotation() public méthode

public setToRotation ( float angle ) : Matrix2d
angle float
Résultat Matrix2d

setToRotation() public méthode

public setToRotation ( float angle, Point2d center ) : Matrix2d
angle float
center Point2d
Résultat Matrix2d

setToScaling() public méthode

public setToScaling ( float scale ) : Matrix2d
scale float
Résultat Matrix2d

setToScaling() public méthode

public setToScaling ( float scale, Point2d center ) : Matrix2d
scale float
center Point2d
Résultat Matrix2d

setToScaling() public méthode

public setToScaling ( float scaleX, float scaleY ) : Matrix2d
scaleX float
scaleY float
Résultat Matrix2d

setToScaling() public méthode

public setToScaling ( float scaleX, float scaleY, Point2d center ) : Matrix2d
scaleX float
scaleY float
center Point2d
Résultat Matrix2d

setToShearing() public méthode

public setToShearing ( float sx, float sy ) : Matrix2d
sx float
sy float
Résultat Matrix2d

setToShearing() public méthode

public setToShearing ( float sx, float sy, Point2d pnt ) : Matrix2d
sx float
sy float
pnt Point2d
Résultat Matrix2d

setToTranslation() public méthode

public setToTranslation ( Vector2d vec ) : Matrix2d
vec Vector2d
Résultat Matrix2d

shearing() public static méthode

public static shearing ( float sx, float sy ) : Matrix2d
sx float
sy float
Résultat Matrix2d

shearing() public static méthode

public static shearing ( float sx, float sy, Point2d pnt ) : Matrix2d
sx float
sy float
pnt Point2d
Résultat Matrix2d

translation() public static méthode

public static translation ( Vector2d vec ) : Matrix2d
vec Vector2d
Résultat Matrix2d

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool