MeshLib C# Docs
Loading...
Searching...
No Matches
MR.AffineXf2d Struct Reference

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf2d. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.AffineXf2d:

Public Member Functions

 AffineXf2d (AffineXf2d _other)
 Generated copy constructor.
 
unsafe AffineXf2d ()
 Constructs an empty (default-constructed) instance.
 
unsafe AffineXf2d (in MR.Matrix2d A, in MR.Vector2d b)
 Generated from constructor MR.AffineXf2d.AffineXf2d.
 
readonly unsafe MR.Vector2d call (in MR.Vector2d x)
 application of the transformation to a point Generated from method MR.AffineXf2d.operator().
 
readonly unsafe MR.Vector2d linearOnly (in MR.Vector2d x)
 applies only linear part of the transformation to given vector (e.g. to normal) skipping adding shift (b) for example if this is a rigid transformation, then only rotates input vector Generated from method MR.AffineXf2d.linearOnly.
 
readonly unsafe MR.AffineXf2d inverse ()
 computes inverse transformation Generated from method MR.AffineXf2d.inverse.
 
bool Equals (MR.AffineXf2d b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator AffineXf2d (ConstBox_AffineXf2d other)
 Copy contents from a wrapper class to this struct.
 
static unsafe MR.AffineXf2d translation (in MR.Vector2d b)
 creates translation-only transformation (with identity linear component) Generated from method MR.AffineXf2d.translation.
 
static unsafe MR.AffineXf2d linear (in MR.Matrix2d A)
 creates linear-only transformation (without translation) Generated from method MR.AffineXf2d.linear.
 
static unsafe MR.AffineXf2d xfAround (in MR.Matrix2d A, in MR.Vector2d stable)
 creates transformation with given linear part with given stable point Generated from method MR.AffineXf2d.xfAround.
 
static unsafe MR.AffineXf2d operator* (MR.AffineXf2d u, in MR.AffineXf2d v)
 composition of two transformations: \( y = (u * v) ( x ) = u( v( x ) ) = ( u.A * ( v.A * x + v.b ) + u.b ) = ( u.A * v.A ) * x + ( u.A * v.b + u.b ) \) Generated from function MR.operator*.
 
static unsafe bool operator== (MR.AffineXf2d a, MR.AffineXf2d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.AffineXf2d a, MR.AffineXf2d b)
 

Public Attributes

MR.Matrix2d a
 
MR.Vector2d b
 

Detailed Description

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf2d. This is the by-value version of the struct.


The documentation for this struct was generated from the following file: