C# Class NewTOAPIA.Graphics.Affine

Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

Property Type Description
affine_epsilon double
sx double

Public Methods

Method Description
Affine ( Affine copyFrom ) : System
Affine ( double m ) : System
Affine ( double v0, double v1, double v2, double v3, double v4, double v5 ) : System
GetScale ( ) : double
Identity ( ) : void
InverseTransform ( double &x, double &y ) : void
Invert ( ) : void
IsEqual ( Affine m, double epsilon ) : bool
IsIdentity ( ) : bool
IsIdentity ( double epsilon ) : bool
IsValid ( double epsilon ) : bool
NewIdentity ( ) : Affine
NewRotation ( double AngleRadians ) : Affine
NewScaling ( double Scale ) : Affine
NewScaling ( double x, double y ) : Affine
NewSkewing ( double x, double y ) : Affine
NewTranslation ( double x, double y ) : Affine
Rotate ( double AngleRadians ) : void
Rotation ( ) : double
Scale ( double scaleAmount ) : void
Scale ( double x, double y ) : void
Scaling ( double &x, double &y ) : void
ScalingAbs ( double &x, double &y ) : void
Transform ( double &x, double &y ) : void
Translate ( double x, double y ) : void
Translation ( double &dx, double &dy ) : void
is_equal_eps ( double v1, double v2, double epsilon ) : bool
operator ( ) : Affine

Private Methods

Method Description
DeterminantReciprocal ( ) : double
Multiply ( Affine m ) : void

Method Details

Affine() public method

public Affine ( Affine copyFrom ) : System
copyFrom Affine
return System

Affine() public method

public Affine ( double m ) : System
m double
return System

Affine() public method

public Affine ( double v0, double v1, double v2, double v3, double v4, double v5 ) : System
v0 double
v1 double
v2 double
v3 double
v4 double
v5 double
return System

GetScale() public method

public GetScale ( ) : double
return double

Identity() public method

public Identity ( ) : void
return void

InverseTransform() public method

public InverseTransform ( double &x, double &y ) : void
x double
y double
return void

Invert() public method

public Invert ( ) : void
return void

IsEqual() public method

public IsEqual ( Affine m, double epsilon ) : bool
m Affine
epsilon double
return bool

IsIdentity() public method

public IsIdentity ( ) : bool
return bool

IsIdentity() public method

public IsIdentity ( double epsilon ) : bool
epsilon double
return bool

IsValid() public method

public IsValid ( double epsilon ) : bool
epsilon double
return bool

NewIdentity() public static method

public static NewIdentity ( ) : Affine
return Affine

NewRotation() public static method

public static NewRotation ( double AngleRadians ) : Affine
AngleRadians double
return Affine

NewScaling() public static method

public static NewScaling ( double Scale ) : Affine
Scale double
return Affine

NewScaling() public static method

public static NewScaling ( double x, double y ) : Affine
x double
y double
return Affine

NewSkewing() public static method

public static NewSkewing ( double x, double y ) : Affine
x double
y double
return Affine

NewTranslation() public static method

public static NewTranslation ( double x, double y ) : Affine
x double
y double
return Affine

Rotate() public method

public Rotate ( double AngleRadians ) : void
AngleRadians double
return void

Rotation() public method

public Rotation ( ) : double
return double

Scale() public method

public Scale ( double scaleAmount ) : void
scaleAmount double
return void

Scale() public method

public Scale ( double x, double y ) : void
x double
y double
return void

Scaling() public method

public Scaling ( double &x, double &y ) : void
x double
y double
return void

ScalingAbs() public method

public ScalingAbs ( double &x, double &y ) : void
x double
y double
return void

Transform() public method

public Transform ( double &x, double &y ) : void
x double
y double
return void

Translate() public method

public Translate ( double x, double y ) : void
x double
y double
return void

Translation() public method

public Translation ( double &dx, double &dy ) : void
dx double
dy double
return void

is_equal_eps() public static method

public static is_equal_eps ( double v1, double v2, double epsilon ) : bool
v1 double
v2 double
epsilon double
return bool

operator() public static method

public static operator ( ) : Affine
return Affine

Property Details

affine_epsilon static public property

static public double affine_epsilon
return double

sx public property

public double sx
return double