MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Box_AffineXf2f Class Reference

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf2f. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_AffineXf2f:

Public Member Functions

unsafe Box_AffineXf2f (AffineXf2f other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe Box_AffineXf2f (ConstBox_AffineXf2f _other)
 Generated copy constructor.
 
void Assign (ConstBox_AffineXf2f _other)
 Generated copy assignment.
 
unsafe Box_AffineXf2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_AffineXf2f (in MR.Matrix2f A, in MR.Vector2f b)
 Generated from constructor MR.AffineXf2f.AffineXf2f.
 
- Public Member Functions inherited from MR.ConstBox_AffineXf2f
virtual void Dispose ()
 
unsafe ConstBox_AffineXf2f (AffineXf2f other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe ConstBox_AffineXf2f (ConstBox_AffineXf2f _other)
 Generated copy constructor.
 
unsafe ConstBox_AffineXf2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_AffineXf2f (in MR.Matrix2f A, in MR.Vector2f b)
 Generated from constructor MR.AffineXf2f.AffineXf2f.
 
unsafe MR.Vector2f call (in MR.Vector2f x)
 application of the transformation to a point Generated from method MR.AffineXf2f.operator().
 
unsafe MR.Vector2f linearOnly (in MR.Vector2f 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.AffineXf2f.linearOnly.
 
unsafe MR.AffineXf2f inverse ()
 computes inverse transformation Generated from method MR.AffineXf2f.inverse.
 
bool Equals (MR.ConstBox_AffineXf2f? b)
 
override bool Equals (object? other)
 

Properties

new ref MR.Matrix2f a [get]
 
new ref MR.Vector2f b [get]
 
- Properties inherited from MR.ConstBox_AffineXf2f
ref readonly MR.Matrix2f a [get]
 
ref readonly MR.Vector2f b [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_AffineXf2f
static implicit operator ConstBox_AffineXf2f (AffineXf2f other)
 Convert from a struct by copying it. Note that only ConstBox_AffineXf2f has this conversion, Box_AffineXf2f intentionally doesn't.
 
static unsafe MR.AffineXf2f translation (in MR.Vector2f b)
 creates translation-only transformation (with identity linear component) Generated from method MR.AffineXf2f.translation.
 
static unsafe MR.AffineXf2f linear (in MR.Matrix2f A)
 creates linear-only transformation (without translation) Generated from method MR.AffineXf2f.linear.
 
static unsafe MR.AffineXf2f xfAround (in MR.Matrix2f A, in MR.Vector2f stable)
 creates transformation with given linear part with given stable point Generated from method MR.AffineXf2f.xfAround.
 
static unsafe MR.AffineXf2f operator* (MR.ConstBox_AffineXf2f u, in MR.AffineXf2f 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.ConstBox_AffineXf2f a, MR.ConstBox_AffineXf2f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_AffineXf2f a, MR.ConstBox_AffineXf2f b)
 
- Protected Member Functions inherited from MR.ConstBox_AffineXf2f
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf2f. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_AffineXf2f() [1/4]

unsafe MR.Box_AffineXf2f.Box_AffineXf2f ( AffineXf2f other)
inline

Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)

◆ Box_AffineXf2f() [2/4]

unsafe MR.Box_AffineXf2f.Box_AffineXf2f ( ConstBox_AffineXf2f _other)
inline

Generated copy constructor.

◆ Box_AffineXf2f() [3/4]

unsafe MR.Box_AffineXf2f.Box_AffineXf2f ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_AffineXf2f() [4/4]

unsafe MR.Box_AffineXf2f.Box_AffineXf2f ( in MR.Matrix2f A,
in MR.Vector2f b )
inline

Generated from constructor MR.AffineXf2f.AffineXf2f.

Member Function Documentation

◆ Assign()

void MR.Box_AffineXf2f.Assign ( ConstBox_AffineXf2f _other)
inline

Generated copy assignment.

Property Documentation

◆ a

new ref MR.Matrix2f MR.Box_AffineXf2f.a
get

◆ b

new ref MR.Vector2f MR.Box_AffineXf2f.b
get

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